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.
The utility database is named utility_db. If you attempt to create or start a database with this name, the operation fails.
Executing the following statement after connecting to the utility database creates a database named new.db in the directory c:\temp.
CREATE DATABASE 'c:\\temp\\new.db';
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 database server properties, see:
The following are the only statements that you can execute when connected to the utility database:
|Envoyer votre avis sur cette page par email.||Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|