Reference Guide
Reference Guide
Reference Guide

ACTIVE DATABASE (DB=)

Used to connect MicroStation to a database. The syntax varies depending on the database.

To connect MicroStation to an Oracle database
  1. Key in:ACTIVE DATABASE <user_name>/<password> [@<remote connection>] DB=<user_name>/<password> [@<remote connection>]

  2. When connecting to Oracle remotely, the SQL Net alias created by the Oracle Network Configuration Utilities is used as the remote connection name. If the database is local to MicroStation, the remote connection name may be omitted.

To connect MicroStation to ODBC
  1. Key in:ACTIVE DATABASE <ODBC_data_source_name> DB=<ODBC_data_source_name>

  2. ODBC data source name is created in the ODBC Administrator. For further information on this process, consult Bentley's website.

To check the name of the database to which MicroStation is connected
  1. Key in:DB=$
    The database name is displayed in the status bar. Any assigned password is not displayed.