AWS Redshift

AWS Redshift Blog Post Archives: Tips and SQL Scripts to help manage a good Redshift Cluster, published by a Microsoft SQL Server Database Admin.

  • Why Use WHERE 1=2 in SQL

    In a previous blog post, I explained why WHERE 1=1 is often used in SQL queries. This time, let's discuss WHERE 1=2 — or any condition that results in a FALSE…

  • Redshift JDBC Driver Download

    Need to download the Redshift JDBC client driver? Here’s how you can do it quickly:> From the AWS Redshift Console: Navigate to the Configure tab and download the JDBC driver.> Download From AWS Docs: Download the JDBC driver directly from the AWS Documentation. I’m sharing this quick guide because it’s something I often do. In […]

  • List All Tables and Columns in Redshift or Postgres

    If you need to list all tables and columns in Redshift or Postgres, this guide provides a SQL script to retrieve schema details across all databases.

  • Creating a New User in Redshift and Promoting to Superuser

    This article provides a step-by-step demo for creating a new User in Redshift and promoting it to a Superuser. I'll include useful tips, best practices, and…

  • Drop Users in RedShift

    Dropping users in Amazon Redshift is a simple task, but sometimes you may encounter an error message if the user you are trying to drop is an owner of an…

  • How to Create a Test AWS RedShift Cluster

    This guide walks you through the process of creating an AWS RedShift Cluster in a personal test environment. Warning: If you're testing AWS RedShift, be mindful of billing. Even when paused, storage charges still apply. To avoid unnecessary costs, I recommend deleting the cluster once you're finished using it. Contents: > Creating an AWS RedShift […]