MobiLink Synchronization User's Guide
Adaptive Server Anywhere Clients
Publishing data
After you have created a publication, you can alter it by adding, modifying, or deleting articles, or by renaming the publication. If an article is modified, the entire specification of the modified article must be entered.
You can perform these tasks using Sybase Central or with the ALTER PUBLICATION statement.
Publications can be altered only by the DBA or the publication's owner.
Be careful. In a running MobiLink setup, altering publications may cause errors and can lead to loss of data.
To modify the properties of existing publications or articles (Sybase Central)
Connect to the remote database as a user who owns the publication or as a user with DBA authority.
In the left pane, click the publication or article. The properties will appear in the right pane.
Configure the desired properties.
To add articles (Sybase Central)
Connect to the remote database as a user who owns the publication or as a user with DBA authority using the Adaptive Server Anywhere plug-in.
Open the Publications folder.
Select a publication.
From the File menu, choose New
In the Article Creation wizard, do the following:
On the first page, select a table.
On the next page, select the number of columns.
On the final page, enter a WHERE clause (if desired).
Click Finish to create the article.
To remove articles (Sybase Central)
Connect to the database as a user who owns the publication or as a user with DBA authority using the Adaptive Server Anywhere plug-in.
Open the Publications folder.
Click the publication.
In the right pane, right-click the article you want to delete and choose Delete from the popup menu.
To modify an existing publication (SQL)
Connect to the remote database as a user who owns the publication or as a user with DBA authority.
Connect to a database with DBA authority.
Execute an ALTER PUBLICATION statement.
The following statement adds the customer table to the pub_contact publication.
ALTER PUBLICATION pub_contact ( ADD TABLE customer )
See also the ALTER PUBLICATION statement.