-n iqsrv15 Database Option

Provides an alternate name, or nickname, for the database.

Syntax

-n name

Remarks

Using a nickname simplifies connections. For Open Client, the -n nickname must be the same as the entry in the interfaces file.

Since a database server can load several databases, the database name is used to distinguish the different databases. However, Sybase strongly recommends that you run only one database on an IQ server. If you must run two databases, start two IQ database servers on different ports.

By default, the database receives as a name the file name with the path and extension removed. For example, you start a server on c:\sybase\IQ-15_3\demo\iqdemo.db and do not specify the -n option, then the name of the database is iqdemo. To avoid using the default name, always specify a server name.

For naming conventions, see the -n server option.

Note: There are two -n switches. If -n does not follow a database file name, the option names the server. If -n appears after a database file name, the switch is a database switch.