The simplest publication you can make consists of a single article, which consists of all rows and columns of a table.
You can use either Sybase Central or Interactive SQL to perform this task.
In Sybase Central, you can perform this task while working with the connected database.
Connect to the UltraLite database.
Right-click the Publications folder, and choose New » Publication.
In the What Do You Want To Name The New Publication field, type a name for the new publication. Click Next.
On the Tables tab, select tables from the Available Tables list. Click Add.
Click Finish.
In Interactive SQL, you can perform this task with the CREATE PUBLICATION statement.
Connect to the UltraLite database.
Execute a CREATE PUBLICATION statement that specifies the name of the new publication and the table you want to publish.
For example, the following statement creates a publication that publishes the whole customer table:
CREATE PUBLICATION pub_customer ( TABLE customer ); |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |