Example: Start DB-Access for a database

This example shows how to start DB-Access and specify a database to which to connect.

Assume that the database server that you have online contains a database named mystores. To make the mystores database the current database, start DB-Access with the following command:
dbaccess mystores
You can specify a database on a database server that is not online. For example, either of the following commands selects the newstores database on the xyz database server:
dbaccess newstores@xyz
dbaccess //xyz/newstores
When DB-Access starts, the database and database server name that you specify are displayed on the dashed line, as the following figure shows.
Figure 1. The DB-Access main menu with database and database server name
DB-Access:   Query-language  Connection  Database  Table  Session  Exit


---------------- newstores@xyz ---------------------Press CTRL-W for Help ---