Guidelines for Overriding Microsoft SQL Server Default Tablespaces for Database Objects
This topic is part of Configuring a Microsoft SQL Server Database for Siebel CRM.
Siebel CRM provides the option of overriding the default storage
parameters for the tablespaces that you create to hold specific tables
or indexes. To do this, edit the ddl.ctl file located in the DBSRVR_ROOT\MSSQL
directory.
For each Siebel table, you can specify a tablespace by using the
Table Space parameter. In the following example, the tablespace for
the table S_APP_VIEW is set to DATA1
. As provided,
the .ctl file does not set storage parameters for the objects it creates,
so the objects default to the parameters of the tablespaces in which
they are created.
As shown in the example that follows, you can use the Table Space parameter to set storage parameters for specific tables:
[Object 219]
Type = Table
Name = S_APP_VIEW
Column 1 = ROW_ID VARCHAR(15) NOTNULL
Column 2 = CREATED TIMESTAMP NOTNULL DEFAULT %NOW%
Column 3 = CREATED_BY VARCHAR(15) NOTNULL
Column 4 = LAST UPD TIMESTAMP NOTNULL DEFAULT %NOW%
Column 5 = LAST_UPD_BY VARCHAR(15) NOTNULL
Column 6 = DCKING_NUM NUMERIC(22,7) DEFAULT 0
Column 7 = MODIFICATION_NUM NUMERIC(10,0) NOTNULL DEFAULT 0
Column 8 = CONFLICT_ID VARCHAR(15) NOTNULL DEFAULT '0'
Column 9 = NAME VARCHAR(50) NOTNULL
Column 10 = DESC_TEXT VARCHAR(255)
Column 11 = LOCAL_ACCESS_FLG CHAR(1)
Table Space = data1
For an example (IBM DB2) of overriding the defaults for specific tables and indexes, see Guidelines for Overriding IBM DB2 Default Tablespaces for Database Objects.