Identify the database server

To connect to a database environment (with, for example, a CONNECT statement), the application can identify the database server in one of two ways:
  • The application can specify the name of the database server in the SQL statement. Such a database server is a specific database server.
  • The application can omit the name of the database server in the SQL statement. Such a database server is the default database server. The ONEDB_SERVER environment variable specifies the name of the default database server.