Created
September 8, 2020 15:09
-
-
Save mbiemann/3a526202338abb9521b5bbfdd025a05d to your computer and use it in GitHub Desktop.
AWS Redshift SQL Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- CREATE EXTENAL SCHEMA | |
-- https://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_CREATE_EXTERNAL_SCHEMA.html | |
CREATE EXTERNAL SCHEMA 'yourDatabase' | |
FROM DATA CATALOG DATABASE 'yourDatabase' | |
REGION 'us-east-1' | |
IAM_ROLE 'arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment