NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
C-127
CPRULES Table
CPRULES Table
The CPRULES table is a catalog table that contains one row for each collation. The
following table describes the contents of the CPRULES table.
The CPRULES table was added in version 300.
Guardian names in the CPRULES table are fully qualified and use uppercase characters.
CREATE CATALOG Statement
CREATE CATALOG is a DDL statement that creates a new catalog. Each new catalog
includes a complete set of catalog tables and indexes. See Catalogs on page C-6 for
details about the contents of a catalog.
catalog
is the name of the Guardian subvolume to contain the catalog (or an equivalent
DEFINE) and is also the name of the new catalog. The volume on which the
subvolume resides must be audited by the TMF subsystem and catalog must be a
unique catalog name on that volume. If ServerWare Storage Management
Foundation (SMF) is installed on your node, the volume on which the subvolume
resides can be a virtual or direct volume. You cannot specify any $*.ZYS*.
subvolumes for catalog.
If ServerWare SMF is installed on your node and the default volume is a virtual
volume, SQL places the set of catalog tables on the virtual volume. If the default
volume is a direct volume, the catalog tables reside on the physical volume as direct
files not managed by ServerWare SMF.
If you omit catalog, SQL uses the current default catalog.
Column Name Data Type Description
1 CPRULESNAME * CHAR(34) Collation name
2
CHARACTERISTICS
CHAR(1) Properties of the collation: O if only identical
strings sort equal N if some nonidentical
strings sort equal
3 CPRULESCLASS CHAR(1) Always U.
4 CPROBJSIZE INTEGER
UNSIGNED
Minimum size of buffer needed to store object
5 CHARACTERSET CHAR (30) Name of character set assumed by the collation
6 CPRULESVERSION SMALLINT
UNSIGNED
Version number of latest-version feature used
in collation
* Indicates primary key
CREATE CATALOG [ catalog [ SECURE "rwep" ]
[ PHYSVOL volume-name ] ]