You can extract an UltraLite database from a version 10.0.0 or later SQL Anywhere database with either the Extract Database Wizard or the Initialize Database utility (ulinit).
To initialize/extract an UltraLite database from a version 9 or earlier SQL Anywhere reference database (Sybase Central)
Carry out the standard precautions for upgrading software, including backing up the database. See Important upgrade precautions.
Upgrade the SQL Anywhere database and prepare it with UltraLite usage in mind. If you need to update publications, be sure to do so before re-creating the UltraLite database.
For information about upgrading SQL Anywhere version 9 and earlier databases, see Rebuilding version 9 and earlier databases for version 11.0.0.
Start Sybase Central by choosing Start » Programs » SQL Anywhere 11 » Sybase Central.
Extract an UltraLite version of the SQL Anywhere database by choosing Tools » UltraLite 11 » Extract (ulinit) Database.
Follow the instructions in the Extract Database Wizard.
To initialize/extract an UltraLite database from a version 9 or earlier SQL Anywhere reference database (command line)
Carry out the standard precautions for upgrading software, including backing up the databases. See Important upgrade precautions.
Ensure that the version 11.0.0 UltraLite utilities are ahead of older UltraLite utilities in your system path. See Using the utilities.
Upgrade your existing SQL Anywhere database and prepare it with UltraLite usage in mind. If you need to update publications, be sure to do that before re-creating the UltraLite database.
For information about upgrading SQL Anywhere version 9 and earlier databases, see Rebuilding version 9 and earlier databases for version 11.0.0.
Run the Initialize Database utility (ulinit) to extract an UltraLite database using the following syntax:
ulinit -a "SAconnection-string" -c "ULconnection-string" -n pubname [ options ] |
Ensure that you have:
All other options are optional.
Because you are creating a new database, parameters like UID and PWD are used to create the initial user ID and password for authentication purposes. The SQL Anywhere database is not referenced in this case. However, to override other SQL Anywhere reference database property defaults use -o [extended-options]. See Choosing database creation parameters for UltraLite.
For a complete reference, see UltraLite Initialize Database utility (ulinit). For more information on UltraLite database properties you can configure, see UltraLite database properties.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |