Both database servers and databases can be named. Since a database server can load several databases, the database name is
used to distinguish the different databases.
Database names cannot:
begin with white space, single quotes, or double quotes
end with white space
be longer than 250 bytes
The -n database option must be specified after the database-file, and applies only to that database.
You can only use the database name utility_db to connect to the utility database.
There are two -n options. The -n option is position-dependent. If it appears before a database file name, it is a server option
and names the server. If it appears after a database file name, it is a database option and names the database.
For example, the following command names the server SERV and the database DATA:
If the database that is started is %SQLANYSAMP16%\demo.db and no -n option is specified, the name of the database is demo.
The following example starts the database server with a cache size of 3 MB, loads the database, and names the database test.
Since no database server name has been specified, the server takes its name from the first database, so the server's name
is also test.