How to write the T-SQL below in SnowFlake
if exists (select top 1 1 from tableName)
This returns true
or false
Update
I tried to run the if
in the screenshot below in the Snowflake browser, but get the error:
https://docs.snowflake.com/en/sql-reference/snowflake-scripting/if.html