-n iqsrv16 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.

Note: Since a database server can load several databases, the database name is used to distinguish the different databases. However, run only one database on an SAP Sybase IQ server. If you must run two databases, start two SAP Sybase 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-16_0\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.
Related reference
-n iqsrv16 database server option