Databases retain a structure that contains data stored in a database. Data is contained
in tables, tables are grouped into schemas, and schemas are grouped into catalogs.
Catalog and schema names can be used in
SQL statements to qualify table references. For example, when querying a database that
supports both schemas and catalogs, you can specify a three-level identifier in the
form of
CATALOG.SCHEMA.TABLE-NAME
.
A catalog is a named
collection of logically related schemas. The catalog is the first-level
(top) grouping mechanism in a data organization hierarchy that qualifies
schemas. At least one schema is required for each catalog.
For the BASE data service,
you must create catalogs and schemas in order to expose data. For
other data services, catalogs and schemas are defined in the data
source, and catalog and schema names can be registered in SAS Federation Server
to reflect those objects.