Skip to main content

DATABASES view

The MD_INFORMATION_SCHEMA.DATABASES view provides information about the current databases that the user created.

Schema

When you query the MD_INFORMATION_SCHEMA.DATABASES view, the query results contain one row for each database that the current user created.

The MD_INFORMATION_SCHEMA.DATABASES view has the following schema:

Column NameData TypeValue
NAMESTRINGThe name or alias of the database
UUIDSTRINGThe UUID of the database
CREATED_TSTIMESTAMPThe database’s creation time

Example usage

from MD_INFORMATION_SCHEMA.DATABASES;
nameuuidcreated_ts
tpch_sf1000_template2c80b37d-d307-44d8-aff6-33ea2294bd352024-10-21 14:26:30-04
db1445864c7-5758-42a2-9a5c-2f16620ebc9f2024-09-15 09:32:05-04
foo4d829a9e-e0da-408c-aafa-0fc50186a5882024-09-03 13:32:10-04
tpch_sf1000fc4bf9f4-80d1-4fd9-b6fe-d6d71f40ef422024-10-21 14:26:30-04