A Transact-SQL command to retrieve current RepAgent (or LTM) information about an Adaptive Server database.
dbcc gettrunc
The dbcc gettrunc command returns a single row containing the columns shown in Table 5-1:
Column name |
Contents |
|
---|---|---|
RepAgent |
LTM |
|
secondary trunc page |
ltm_truncpage |
The first page that is not truncated in the database log |
secondary trunc state |
ltm_trunc_state |
One of the following values:
|
db rep stat |
dp_rep_stat |
A mask constructed of the following:
RepAgent only:
|
generation id |
gen_id |
The database generation ID |
database id |
dbid |
The Adaptive Server ID number of the database |
database name |
dbname |
The name of the database |
ltl version |
lti_version |
RepAgent: The log transfer language (LTL) version LTM: The log transfer interface (LTI) version |
Use dbcc gettrunc for RepAgent- and LTM-enabled databases.