With both Sybase Central and Interactive SQL, you can start a database without connecting to it.
Select the database server and then choose File » Start Database.
In the Start Database window, enter the required values.
The database appears under the database server as a disconnected database.
Execute a START DATABASE statement.
Start the database file c:\temp\temp.db on the database server named sample.
START DATABASE 'c:\\temp\\temp.db' AS tempdb ON 'sample' AUTOSTOP OFF; |
You must be connected to a database to start another database.
The AUTOSTOP OFF connection parameter prevents the database from being stopped automatically when all connections have been disconnected. It is used here to illustrate a point later on in the discussion.
For more details about starting a database, see Using SQL Anywhere database servers.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |