rs_zeroltm

Description

Resets the locator value for a database to zero (0). Use this stored procedure after you have used the Adaptive Server command dbcc settrunc to disable the secondary truncation point and truncate the logs, but before you restart Replication Server.

Syntax

rs_zeroltm data_server, database

Parameters

data_server

The data server with the database whose locator value you want to reset.

database

The database whose locator value you want to reset.

Examples

Example 1

Resets the locator value to 0 for the TOKYO_DS data server and the pubs2 database.

rs_zeroltm TOKYO_DS, pubs2

Usage

See also

dbcc settrunc