prsid
|
int
|
Can be:
|
classid
|
rs_id
|
ID of datatype class to which the datatype
belongs
|
dtname
|
varchar(30)
|
Unique name of datatype
|
dtid
|
rs_id
|
Unique ID of datatype
|
base_coltype
|
tinyint
|
ID of base datatype for the datatype.
Can be:
|
|
|
|
length
|
int
|
Maximum length of a value of the datatype.
For UDDs with masks defined as decimal or money,
the value is the maximum precision plus four.
|
status
|
int
|
Status. (See the status column
in the rs_columns table.)
|
length_err_act
|
tinyint
|
Action to be taken if value exceeds length
identified in length. Can be:
1 – error
2 – continue
3 – truncate left
4 – truncate right
5 – round up
6 – round up and continue on error
7 – round up and use default on error
8 – round up and use minimum on error
9 – round up and use maximum on error
10 – round down
11 – round down and continue on error
12 – round down and use default on error
13 – round down and use minimum on error
14 – round down and use maximum on error
|
mask
|
varchar(255)
|
Datatype mask. Datatype must have base
datatype of char for non-null mask.
|
scale
|
int
|
Maximum number of digits to the right
of decimal point. Valid only for masks of money or decimal.
|
default_len
|
tinyint
|
Length of value in
default_val
column.
|
default_val
|
binary(255)
|
Default value. Supplies missing components
for target value during translation to this datatypes.
|
delim_pre_len
|
tinyint
|
Length of delim_pre value.
|
delim_pre
|
binary(30)
|
Postfixing character or character string
used when mapping a non-Java value into a function string. An empty
string if the delimiter prefix for the base datatype is used.
|
delim_post_len
|
tinyint
|
Length of delim_post.
|
delim_post
|
binary(30)
|
Postfixing character or character string
used when mapping a non-Java value into a function string. An empty
string if the delimiter prefix for the base datatype is used.
|
min_boundary_
len
|
tinyint
|
Length of value in min_boundary column.
1 – error
2 – use default
3 – use minimum
4 – use maximum
|
min_boundary
|
binary(255)
|
Minimum acceptable value for datatype.
|
min_boundary_
err_act
|
tinyint
|
Action to be taken if the value exceeds
the minimum boundary set by min_boundary. Can be:
1 – error
2 – use default
3 – use minimum
4 – use maximum
|
max_boundary_
len
|
tinyint
|
Length of value in max_boundary.
|
max_boundary
|
binary(255)
|
Maximum acceptable value for datatype.
|
maximum_
boundary_err_act
|
tinyint
|
Action to be taken if a value exceeds
the maximum boundary set by max_boundary. Can be:
1 – error
2 – use default
3 – use minimum
4 – use maximum
|
rowtype
|
tinyint
|
Indicates whether a row is local to Replication
Server or distributed to all Replication Servers in the domain.
Can be:
|
canonic_type
|
tinyint
|
DSI uses the value of canonic_type to
convert the UDD to the correct
data type when sending dynamic SQL execute commands. A value of
255 indicates that this datatype is incompatible with dynamic SQL.
|