ClickHouse/docs/en/sql-reference/statements/exists.md
2022-08-28 10:53:34 -04:00

384 B

slug sidebar_position sidebar_label
/en/sql-reference/statements/exists 45 EXISTS

EXISTS Statement

EXISTS [TEMPORARY] [TABLE|DICTIONARY] [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.