Sets the name of the database server.
iqsrv16 -n server-name database-filename ...
The name of the first database file (with the path and extension removed) that is started on the database server.
All operating systems and database servers.
When a database server starts, it attempts to become the default database server on that computer. The first database server to start when there is no default server becomes the default database server. Shared memory connection attempts on that computer that do not explicitly specify a database server name connect to the default server.
There is no character set conversion performed on the server name. If the client character set and the database server character set are different, using extended characters in the server name can cause the server to not be found. If your clients and servers are running on different operating systems or locales, you should use 7-bit ASCII characters in the server name.
Database server names must be valid identifiers. Long database server names are truncated to different lengths depending on the protocol. Database server names cannot:
The server name specifies the name to be used in the ServerName (Server) connection parameter of client application connection strings or profiles. With shared memory, unless -xd is specified, a default database server is used if a server name is not specified and there is at least one database server running on the computer.
Running multiple database servers with the same name is not recommended.
For example, the following command names the database server SERV and the database DATA:
iqsrv16 -n SERV sales.db -n DATA