Contains information about the columns of replication definitions.
Column |
Datatype |
Description |
---|---|---|
prsid |
int |
Primary Replication Server for this object |
objid |
rs_id |
Table/function replication definition ID or function ID this column belongs to |
colname |
varchar(255) |
Column or parameter name |
colnum |
smallint |
Column number |
coltype |
tinyint |
Datatype of the column or parameter:
|
length |
int |
Length of the declared data |
searchable |
tinyint |
1 if searchable key, 0 if not |
primary_col |
tinyint |
1 if primary key, 0 if not |
fragmentation |
tinyint |
1 if fragmentation key, 0 if not |
rowtype |
tinyint |
1 if row is to be replicated, 0 if not |
status |
int |
Mask, can be one or more of the following:
|
basecolnum |
smallint |
Column position in base replication definition. Default is colnum value. |
repl_colname |
char(255) |
Column name in replicate table. Default is colname value. |
declared_dtid |
rs_id |
Datatype ID. For a user-defined datatype, this is a foreign key to the table. |
publ_dtid |
rs_id |
Published datatype as specified in the replication definition. If no published datatype is specified, publ_dtid is equal to declared_dtid. |
publ_base_coltype |
tinyint |
The base datatype of the published datatype. If no published datatype is specified, publ_base_coltype is equal to coltype. |
publ_length |
int |
The maximum length of the published datatype. |
Unique index on (objid, colname)
Unique index on (objid, colnum)
Unique index on (objid, basecolnum)
Clustered index on (objid)
Partial index on (objid, searchtable)