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_-

 

VAR-

Current remote user (from the

 

user

 

CHAR(128)

Message Agent command line).

 

current_publisher

 

VAR-

Current publisher

 

 

 

CHAR(128)

 

 

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

Page 356
Image 356
Sybase DC38133-01-0902-01 manual #remote table, Srarticle table, Manage SQL Remote information, Table has a single row