Forum Discussion

Shrabanti's avatar
Shrabanti
New Contributor II
5 years ago

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”.

2 Replies

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

    the comments should be enclosed in double hyphens(–)