How to find the List of databases in Snowflake

You can use the below query to get the list of all the databases in Snowflake:

select database_name,
created as create_date,
database_owner,
comment
from information_schema.databases
order by database_name;

Column names:

  • database_name - database name
  • created_date - date the database was created
  • database_owner - name of the role that owns the schema
  • comment - comment for this database

nVector

posted on 03 Mar 20

Enjoy great content like this and a lot more !

Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds




AzharuddinK05-Mar-20

If i am correct only the Admin will be able to see all the databases in Snowflake. Rest will only show databases which they have access to...

nVector05-Mar-20

This is a good information. I have only tried using admin account