SQL metadata

View the databases, tables, and views accessible to the current workspace, and read object definitions. Before deleting a database, table, or view, make sure that the target objects and data are no longer needed.

Select task

Task

interface

Description

Query database list

Query database list

List the databases you have access to.

Query the list of tables and views in the database

Query the list of tables and views in the database

List the tables and views in a database.

Query table information

Query table information

View table field definitions and row numbers, but do not read data rows.

Query table field list

Query table field list

View the table’s field names, types, whether null values are allowed, default values, and key types.

Query table or view creation statement

Query table or view creation statement

View the create statement for the table or view.

Remove database

Delete database

Delete the specified database.

Remove table

Delete table

Delete the specified table.

Remove view

Delete view

Delete the specified view.

Last updated on