Snowflake Vs MS-SQL - Part 2

  



Trailing Comma in Select Statement

 

MS-SQL Server does NOT support trailing Comma in SELECT Statement. If you try to run the query with trailing comma at the end, then you may get an error like

"Incorrect syntax near the keyword 'from'."




However Snowflake does support trailing Comma in SELECT Statement. If you try to run the above query with trailing comma at the end, it will NOT throw an error and will pull result.

You can read more about this at Trailing_Comma_Select



 Yogesh Shinde

LinkedInProfile

<<< Back Next >>>

Comments

Popular posts from this blog

Snowflake Vs MS-SQL - Part 36 - SPLIT_TO_TABLE

Snowflake Vs MS-SQL - Part 63 - ON Clause & Cross Join

Snowflake Vs MS-SQL - Part 33 - INITCAP