Description
SHOW TABLES IN CATALOG
is a SQL command used to list all tables in the specified catalog and schema.
Syntax
Parameter Description
- catalog_name: Specifies the name of the catalog for which to list the tables. Ensure that the provided catalog name exists and is accessible in the system.
- schema_name: Specifies the name of the schema for which to list the tables. This schema must belong to the aforementioned catalog.
Example
The above command will list all tables defined in the catalog named my_catalog
and the schema my_schema
.