You need to enable JavaScript to run this app.
ByteHouse Cloud Data Warehouse Version

ByteHouse Cloud Data Warehouse Version

Copy page
Download PDF
DDL
EXISTS statement (EXISTS)
Copy page
Download PDF
EXISTS statement (EXISTS)

Returns a single column of type UInt8. If the table or database does not exist, the column contains the value 0; if the table exists in the specified database, the column contains the value 1.
Syntax

EXISTS [TEMPORARY] [TABLE|DICTIONARY] [db.]name

Example

exists table db1.describe_example
Last updated: 2026.03.31 10:31:07