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

victor

posted on 24 Oct 18

Enjoy great content like this and a lot more !

Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds