Top "Amazon-redshift" questions

Amazon Redshift is a petabyte-scale data warehousing service using existing business intelligence tools to analyze the data.

Show tables, describe tables equivalent in redshift

I'm new to aws, can anyone tell me what are redshifts' equivalents to mysql commands? show tables -- redshift command …

amazon-web-services amazon-redshift
Alter column data type in Amazon Redshift

How to alter column data type in Amazon Redshift database? I am not able to alter the column data type …

amazon-web-services amazon-redshift
In Redshift/Postgres, how to count rows that meet a condition?

I'm trying to write a query that count only the rows that meet a condition. For example, in MySQL I …

postgresql amazon-redshift
postgresql - view schema privileges

Is there a query I can run to show currently assigned privileges on a particular schema? i.e. privileges that …

sql postgresql amazon-redshift
How do I view grants on Redshift

I'd like to view grants on redshifts. I found this view for postgres: CREATE OR REPLACE VIEW view_all_grants …

sql amazon-redshift
Declare a variable in RedShift

SQL Server has the ability to declare a variable, then call that variable in a query like so: DECLARE @StartDate …

amazon-redshift
How to get the last day of month in postgres?

How to find the last day os the month in postgres? I have a date columns stored as numeric(18) in …

sql postgresql amazon-redshift
How to convert epoch to datetime redshift?

I work in dbeaver. I have a table x. TABLE x has a column "timestamp" 1464800406459 1464800400452 1464800414056 1464800422854 1464800411797 The result I want: Wed, 01 …

datetime amazon-redshift epoch
how to find size of database, schema, table in redshift

Team, my redshift version is: PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.735 how …

amazon-web-services amazon-redshift
Column is of type timestamp without time zone but expression is of type character

I'm trying to insert records on my trying to implement an SCD2 on Redshift but get an error. The target …

postgresql amazon-redshift