The simplest publication you can make consists of a single article, which consists of all rows and columns of one or more tables. These tables must already exist.
To publish one or more entire tables (Sybase Central)
Connect to the database as a user with DBA authority.
In the left pane, select the Publications folder.
From the File menu, choose New » Publication.
The Create Publication Wizard appears.
Type a name for the publication. Click Next.
On the Tables tab, select a table from the list of Available Tables. Click Add. The table appears in the list of Selected Tables on the right.
Optionally, you can add additional tables. The order of the tables is not important.
Click Finish.
To publish one or more entire tables (SQL)
Connect to the 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.
CREATE PUBLICATION PubCustomers ( TABLE Customers ); |
CREATE PUBLICATION PubSales ( TABLE Customers, TABLE SalesOrders, TABLE SalesOrderItems, TABLE Products ); |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |