24 October 2018        Add to Favorites   Report

Comment out / uncomment multiple lines in the Snowflake Worksheet Web Interface

To comment/uncomment SQL Scripts in Snowflake Web Interface,

  • Simply select and highlight multiple lines in the Worksheet
  • Press CMD + / (Mac) or CTRL + / (Windows). The highlighted lines are commented out
  • Press CMD + / (Mac) or CTRL + / (Windows) again. The comments are removed from the highlighted lines

You could do this manually as well, Simply add "--" or "//" before the individual line to comment:

//SELECT * FROM SALES

or

--SELECT * from SALES
Copied