Skip to main content

List tables

Return the tables in a schema.

Command in the Snowflake toolkit · id ooa.snowflake/list_tables · 6 inputs (2 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Account address (URL)StringNoYour Snowflake account address, e.g. https://myorg-myaccount.snowflakecomputing.com.
DatabaseStringYesDatabase to look in.
SchemaStringYesSchema to look in, e.g. PUBLIC.
RoleStringNoRole to run as. Leave empty for the user's default role.
TokenCredentialNoAccess token from the vault: an OAuth token, a key-pair JWT or a programmatic access token. Or leave it empty and choose a connection that signs in, which gets and renews the token.
Token typeStringNoOAUTHKind of token in the vault: OAUTH, KEYPAIR_JWT or PROGRAMMATIC_ACCESS_TOKEN.

Outputs​

OutputTypeWhat it is
tableTableOne row per table with name, row count, size and more.
namesListTable names only.