Use the ‘unload‘ command as shown below to extract data from Redshift database to a csv file. unload (‘SELECT *
Continue readingHow to remove not null constraint from a column in Redshift
Once the table in created – Redshift does not support altering column to remove a not-null constraint defined on a
Continue reading[Amazon](500310) Invalid operation: cannot drop table because other objects depend on it
You might encounter the below error while trying to drop a table from Amazon Redshift database. Error : [Amazon](500310) Invalid
Continue reading[Amazon](500310) Invalid operation: Maximum number of stored procedures allowed exceeded
You might encounter the below message while creating a stored procedure in Amazon Redshift database. Error : [Amazon](500310) Invalid operation:
Continue reading[Amazon](500310) Invalid operation: permission denied for relation
You might encounter the below error while accessing a database object in Redshift database. Error : [Amazon](500310) Invalid operation: permission
Continue readingRoute 53 Cheat Sheet
Domain Name System (DNS) service Functionality offered: Domain registration DNS routing Health checking Hosted Zone -> Collection of records 2
Continue reading
AWS Glue Cheat Sheet
Fully managed ETL service Serverless Pay as you go ETL jobs are executed on scalable Apache Spark environment Supports encryption
Continue reading
How to Refresh a Materialized View in Redshift
Manually Refresh: Below is the syntax to manually refresh a materialized view where mv_name is the name of the materialized
Continue reading
How to drop a constraint in Redshift database
Identify the constraint that you would like to drop using below sql and copy the constraint name. select * from
Continue reading
How to resize a column in Redshift database
Use the below command to modify the column width in Redshift. ALTER TABLE table_name ALTER COLUMN column_name TYPE new_data_type; Example,
Continue reading