You create publications based on existing tables in the consolidated database.
Use the following procedures to create publications that consist of all the columns and rows in a table.
Connect to the consolidated database as a user with DBA authority.
In the left pane, select the Publications folder.
Choose File » New » Publication.
In the What Do You Want To Name The New Publication field, type a name for the publication. Click Next.
Click Next.
In the Available Tables list, select a table. Click Add.
Click Finish.
Connect to the consolidated database as a user with DBA authority.
Execute a CREATE PUBLICATION statement that specifies the name of the new publication and the table you want to publish. See CREATE PUBLICATION statement [MobiLink] [SQL Remote].
For example, the following statement creates a publication that publishes the entire Customers table:
CREATE PUBLICATION PubCustomers ( TABLE Customers ); |
The following statement creates a publication that publishes the entire SalesOrders, SalesOrderItems, and Products tables:
CREATE PUBLICATION PubSales ( TABLE SalesOrders, TABLE SalesOrderItems, TABLE Products ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |