Returns information about replicate articles.
sp_helpreplicateart [info]
sp_helpreplicateart info, rep_art [, {conn=conn_name|sub=sub_name}]
sp_helpreplicateart fields, rep_art, {conn=conn_name|sub=sub_name}
The keyword that requests information about all replicate articles in all replicate databases, or information about a specified replicate article in a specified replicate database or subscription.
The keyword that requests field information for a specified replicate article in a specified replicate database or subscription.
The name of a replicate article. Replicate article names can be specified in the form owner.name.
To avoid problems on case-insensitive data servers,
always specify replicate object names using the same character case
as returned by the catalog stored procedures on the replicate data
server.
The label identifying a replicate database connection. The connection name (conn_name) must be specified in the form ds.db, where:
ds is the name of the data server on which the database resides.
db is the name of the database.
The label identifying a subscription (sub_name).
sp_helpreplicateart
Returns information about all replicate articles in all replicate database connections.
Using sp_helpreplicateart with
no keyword is functionally identical to specifying only the info keyword.
sp_helpreplicateart @rep_art=table1
Returns information about all replicate articles named table1 in all replicate databases. This is functionally identical to Example 3.
sp_helpreplicateart fields, table1, "conn=boulder.doc"
Returns field information about the replicate article table1 in the replicate database doc on the data server boulder.
sp_helpreplicateart fields, "joe.table1", "sub=subdoc"
Returns field information about the replicate article table1 with owner joe in the subscription subdoc.
When listing information about replicate articles, the following result set is returned:
When listing information about replicate article fields, the following result set is returned:
When sp_helpreplicateart is invoked with no keyword, it returns information about all replicate articles in all replicate database connections.
When you invoke sp_helpreplicateart with the fields keyword and an article name (rep_art), you must specify either a connection name (conn=conn_name) or a subscription name (sub=sub_name).
To avoid problems on case-insensitive data servers,
always specify replicate object names using the same character case
as returned by the catalog stored procedures on the replicate data
server.
To get information about primary articles, use sp_helpprimaryart.
To get information about publications or subscriptions, use sp_helppub or sp_helpsub.
To get information about database connections, use sp_helpconn, sp_helpprimaryconn, or sp_helpreplicateconn.
When an error occurs, an error message is returned.
sp_helpprimaryart, sp_helpreplicateconn, sp_helpsub
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |