NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
S-91
System Catalog
System Catalog
Each node on a network has one special catalog called the system catalog.
The system catalog contains the same tables as other catalogs on the node, but includes
one additional table, the CATALOGS table, that lists all catalogs on the node. (See
CATALOGS Table
on page C-9 for more information about the CATALOGS table.)
The system catalog is established during the installation of NonStop SQL/MP. By
default, it is located on volume $SYSTEM and subvolume SQL, although you can
specify a different volume and subvolume at installation time if necessary. (The
CATALOGS table is always located on subvolume SQL on the same volume as the
system catalog.)
The following statements can operate on the system catalog:
ALTER CATALOG
CREATE SYSTEM CATALOG
DOWNGRADE SYSTEM CATALOG
DROP SYSTEM CATALOG
GET CATALOG OF SYSTEM (returns location)
GET VERSION OF CATALOG
UPGRADE SYSTEM CATALOG
If you have appropriate authorization, you can also use other SQL statements to operate
on individual tables within the system catalog. (See Catalogs
on page C-6 for more
information.)
SYSTEM Command
SYSTEM is an SQLCI session command that selects a node to be the current default
node for the SQLCI session.
node
is the name of a node to be the current default.If you omit node, SQL uses the node
on which SQLCI is executing.
Considerations—SYSTEM
The default stays in effect only for the SQLCI session. When you return to TACL,
the TACL default is used.
SYSTEM [ \node ] ;