Unable to execute Redshift Script with comments in it using Redshift Execute
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2021 06:31 AM
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 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2021 09:38 AM
Hi,
the following example would give an idea on how to write the comments,
the comments should be enclosed in double hyphens(–)
Reply
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2021 12:19 AM
Thank you Vineesha. It worked.
