ClickHouse/docs/en/sql-reference/statements/exists.md
2020-07-11 14:05:49 +03:00

337 B
Raw Blame History

toc_priority
47

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 doesnt exist, or 1 if the table exists in the specified database.