PostSQL DDL to generate Redshift DISKKEY and SORTKey from Attachments

This is an example macro that will generate postSQL statements for Redshift Distribution keys (DISTKEY) and Sort keys (SORTKEY), as per the blog post Is Redshift giving you the Blues? ER/Studio has the cure.

4857.Build DDL with DISTKEY SORTKEY.bas