Arafat Nalkhande
Arafat Nalkhande

Reputation: 11708

How to find the list of databases within an AWS Redshift cluster

I want to list out all the existing databases within a Redshift cluster. How can I do that.

What SQL query can I fire such that it sends me a list of all the databases within the AWS cluster

Upvotes: 22

Views: 21223

Answers (1)

avertocle
avertocle

Reputation: 621

Please try this.

    SELECT * FROM pg_database;

Upvotes: 39

Related Questions