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 - Database Administration » The Database Server » The SQL Anywhere database server » Database options

-as database option Next Page

-ds database option


Specifies the directory where the dbspaces for the database are located. The -ds database option must be specified after the database-file, and applies only to that database.

Syntax

{ dbsrv10 | dbeng10 } -ds dbspace-directory ...

Applies to

All operating systems and servers.

Remarks

When a dbspace directory is specified, this is the only directory the database server searches for dbspaces. The location of the dbspace appears in the Server Messages window.

If your backup includes dbspaces with full path names, you can use this option to start the backed up copy of the database on the same computer as the original database while the original database is still running.

See also
Example

The following example starts a database server that looks for dbspaces in the directory c:\backup\Nov15:

dbeng10 c:\backup\Nov15\my.db -ds c:\backup\Nov15\

The following example starts a database server that looks for dbspaces in the current directory:

dbeng10 my.db -ds .