About 13,700,000 results
Open links in new tab
  1. sql - How do I create a dates table in Redshift? - Stack Overflow

    Nov 11, 2017 · As a workaround, you can spin Postgres instance on your local machine, run the code there, export to CSV, then run CREATE TABLE portion only in Redshift and load data …

  2. Creating date dimension in Redshift | by Marina Popova - Medium

    Jul 3, 2017 · To populate the dimension it is good to find in your DWH a pretty large table. For simplicity will call it YOUR_BIG_TABLE. The result is a date dimension with dates starting …

  3. Examples with datetime types - Amazon Redshift

    Jun 1, 2008 · Following, you can find examples for working with datetime types supported by Amazon Redshift. Date examples. The following examples insert dates that have different …

  4. How to create sequential number and calendar tables in AWS Redshift

    Oct 27, 2022 · PostgreSQL has a function generate_series() to generate sequential numbers, but Redshift does not support generate_series(). However, this is only for calls when a table row is …

  5. Redshift SQL query to populate calendar date table

    I am trying to write a redshift sql query to populate a table with dates for 50 years of dates, calculate working days, weekly, monthly calculations etc. I have tried CTE and Recursive …

  6. trying to create a date table in Redshift - Stack Overflow

    Nov 8, 2021 · Frankly, the easiest way to create a Calendar table is to make it in Excel! Make a row for each date, the use formulas to add columns for day, month, year, day number, etc. …

  7. Date and time functions - Amazon Redshift

    In this section, you can find information about the date and time scalar functions that Amazon Redshift supports. Concatenates a date to a time on either side of the + symbol and returns a …

  8. Building a Calendar Table in SQL - Medium

    Jan 17, 2022 · Most simply, our goals when creating a calendar table are to (1) generate the dates we want, (2) add our desired labels, and then (3) insert that data into a usable data …

  9. sql - How to Generate Date Series in Redshift - Stack Overflow

    Sep 8, 2021 · I would like to generate a sequence of dates in Redshift. I can easily do it in PostgreSQL using the generate_series() function. This function works in Redshift, but only in …

  10. Scheduled queries with query editor v2 - Amazon Redshift

    Feb 12, 2025 · With Amazon Redshift query editor v2, you can automate SQL queries to run on a schedule. Scheduled queries are SQL statements that run automatically at specified times or …

  11. Some results have been removed
Refresh