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.
To modify the properties of existing publications or articles (Sybase Central Admin mode)
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 appears in the right pane.
Configure the properties.
To add articles (Sybase Central Admin mode)
Connect to the remote database as a user who owns the publication or as a user with DBA authority using the SQL Anywhere plug-in.
Open the Publications folder.
Select a publication.
From the File menu, choose New » Article. The Create Article Wizard appears.
In the Create Article Wizard, do the following:
Click Finish to create the article.
To remove articles (Sybase Central Admin mode)
Connect to the database as a user who owns the publication or as a user with DBA authority using the SQL 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 the database as a DBA user.
Execute an ALTER PUBLICATION statement.
ALTER PUBLICATION pub_contact ( ADD TABLE customer ) |
See also the ALTER PUBLICATION statement [MobiLink] [SQL Remote].
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |