Sybase SQL Remote DC38133-01-0902-01 User Manual

Page of 485
SQL Remote system tables
This section describes the database tables used by SQL Remote to define and
manage SQL Remote information.
Caution
These tables are for use only by SQL Remote. Do not alter these tables or
their contents directly.
#remote table
Function
This temporary table is created by the Message Agent to hold the name of
the current remote user and of the current publisher. This table exists only in
Adaptive Server Enterprise.
Columns
Column
Data type
Description
current_remote_-
user
VAR-
CHAR(128)
Current remote user (from the
Message Agent command line).
current_publisher
VAR-
CHAR(128)
Current publisher
Description
This is not a system table. When the Message Agent for Adaptive
Server Enterprise connects to the server, it holds the value of the current
remote user ID and the value of the current publisher in the #remote table.
This temporary table is held in TEMPDB.
The values from #remote can be used in conflict resolution procedures.
The CREATE TABLE statement for this table is:
CREATE TABLE #remote (
current_remote_user varchar(128),
current_publisher varchar(128)
)
The table has a single row.
sr_article table
Function
Each row describes an article in a SQL Remote publication.
Columns
338