Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - Database Management and Reference » UltraLite as a MobiLink Client » UltraLite clients » Designing synchronization in UltraLite


Nosync tables in UltraLite

By adding the _nosync suffix to the table name, you control when to exclude the entire table from the upload operation. You can use these non-synchronizing tables for client-specific persistent data that is not required in the consolidated database. Other than being excluded from synchronization, you can use these tables in exactly the same way as other tables in the UltraLite database.

If you create a table with a _nosync suffix, you can only rename that table so it retains the _nosync suffix. For example, the following ALTER TABLE statement with a rename clause is not allowed because the new name no longer ends in nosync:

ALTER TABLE purchase_comments_nosync 
RENAME comments;

To correct this, the statement must be rewritten to include this suffix:

ALTER TABLE purchase_comments_nosync 
RENAME comments_nosync;

You can alternatively use publications to achieve the same effect. See Publications in UltraLite.