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 » Working with Database Files

Deleting a dbspace Next Page

Using the utility database

The utility database is a phantom database with no physical representation. This feature allows you to execute database file administration statements such as CREATE DATABASE without first connecting to an existing physical database. The utility database has no database file, and therefore it cannot contain data.

For example, executing the following statement after having connected to the utility database creates a database named new.db in the directory c:\temp.

CREATE DATABASE 'c:\\temp\\new.db';

See CREATE DATABASE statement.

You can also retrieve values of connection properties and server properties using the utility database.

For example, executing the following statement against the utility database returns the default collation sequence, which will be used when creating a database:

SELECT PROPERTY( 'DefaultCollation' );

For information about connection and server properties, see Understanding database properties.

Allowed statements for the utility database

The following are the only statements that you can executed when connected to the utility database:

Connecting to the utility database
Permission to execute file administration statements