Design overview
Thischapter describes general publication design issues that you must
addresswhen designing a SQL Remote installation. Italso describes how
SQLRemote replicates data.
Designat the
consolidateddatabase Likeall SQL Remote administrative tasks, design is carried out by a
databaseadministrator or system administrator at the consolidated database.
TheAdaptive Server Enterprise System Administrator or database
administratorshould perform all SQL Remote configuration tasks.
Ensuring compatible databases
Youshould ensure that all databases participating in a SQL Remote
installationare compatible in terms of sort orders, character sets, and
databaseoption settings.
Ifyour installation includes both Adaptive Server Enterprise and Adaptive
ServerAnywhere databases, you should ensure your Adaptive Server
Anywheredatabases are created in an Adaptive Server
Enterprise-compatiblefashion.
Fora full description of how to create Enterprise-compatible Adaptive
ServerAnywhere databases, see “Creating a Transact-SQL-compatible
database”[ASA SQL User’s Guide, page 483]. Thissection provides a brief
descriptiononly.
To create an Enterprise-compatible Adaptive Server Anywhere
database ( Sybase Central )
1. The Create Database wizard provides a button that sets each of the
availablechoices to emulate Adaptive Server Enterprise. This is the
simplestway to create a Transact-SQL-compatible database.
To create an Enterprise-compatible Adaptive Server Anywhere
database ( Command line )
1. Ensuretrailing blanks are ignored Youcan do this using the
dbinit
-b
option.
2. Ensurethe dbo user ID is set If you havea database that already has a
userID named dbo,then you can transfer the ownership of the Adaptive
ServerAnywhere Transact-SQL system views to another user ID. You
cando this using the
dbinit
-goption.
3. Removehistorical system views Youcan do this with the
dbinit
-k
option.
74