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

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Usage » Working with Database Objects » Working with databases

Creating databases (command line) Next Page

Starting a database

With both Sybase Central and Interactive SQL, you can start a database without connecting to it.

To start a database on a server without connecting (Sybase Central)
  1. Select the desired server and then choose File > Start Database.

  2. In the Start Database dialog, enter the required values.

    The database appears under the database server as a disconnected database.

  3. To start a database on a server without connecting (SQL)

For more information, see 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'

You must be connected to a database to start another database.

The AUTOSTOP OFF prevents the database from being stopped automatically when all connections have been terminated. It is used here to illustrate a point later on in the discussion.