Articles

This script creates articles for the publication pubs2_pub at the primary Replication Server. It creates two articles for the replication definition pubs_rep.

-- Execute this script at Tokyo Replication Server
 -- Creates articles upd_authors_art,
           pubs_art, and pubs_copy_art 
 create article upd_authors_art
     for pubs2_pub
 with primary at TOKYO_DS.pubs2
 with replication definition upd_authors_rep
 go

create article pubs_art
     for pubs2_pub
 with primary at TOKYO_DS.pubs2
 with replication definition pubs_rep
 go

create article pubs_copy_art
     for pubs2_pub
 with primary at TOKYO_DS.pubs2
 with replication definition pubs_rep
 where pub_id >= 1000
 go
 /* end of script */