Unable to execute Redshift Script with comments in it using Redshift Execute

Hi All,
I am using redshift execute to run a redshift script .
While I am able to run the script when every redshift query is enclosed in double quote,
but the script is failing when I am adding comments to that.
Would like to know how to write comment in redshift script so that it can be acceptable in “Redshift Execute”.

the following example would give an idea on how to write the comments,

the comments should be enclosed in double hyphens(–)

1 Like

Thank you Vineesha. It worked.