Defines a new primary database connection.
sp_addprimaryconn conn_name [, maint_user]
is the name of a primary database connection. Connection names must be specified in the form ds.db, where:
ds is the name of the data server on which the primary database resides.
db is the name of the primary database.
is the Maintenance User name for the primary database.
sp_addprimaryconn "boulder.doc", fred
Defines a primary database connection to the database doc on data server boulder, where the Maintenance User name is fred.
sp_addprimaryconn creates only a primary database connection to the database specified. If the primary database will also act as a replicate database in bidirectional replication, use sp_addreplicateconn to create a replicate database connection to the same database.
The ASE Replicator system user is the default Maintenance User for all primary database connections. If you do not specify a Maintenance User name, the ASE Replicator system user login name is used.
When the requested action occurs successfully, no results are returned.
When an error occurs, an error message is returned.
sp_addprimaryart, sp_addpub, sp_addreplicateconn, sp_configprimaryconn, sp_helpprimaryart, sp_helpprimaryconn, sp_helppub