mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
393 B
393 B
slug | sidebar_position | sidebar_label |
---|---|---|
/en/sql-reference/statements/exists | 45 | EXISTS |
EXISTS Statement
EXISTS [TEMPORARY] [TABLE|DICTIONARY|DATABASE] [db.]name [INTO OUTFILE filename] [FORMAT format]
Returns a single UInt8
-type column, which contains the single value 0
if the table or database does not exist, or 1
if the table exists in the specified database.