Import ODBC
Oasis montaj provides the functionality to import ODBC data sources. This gives you the ability to import data from complex or custom data sources such as corporate databases. Use the Database > Import > ODBC menu option (IMPODBC GX) to import external database tables into a database.
To Import an ODBC Database:
- The IMPODBC GX begins by scanning your system to determine valid ODBC sources. If you have an open database, the system will ask you whether to import to the current database or create a new one. If you have no database open or choose to create a new database, the New Database dialog is displayed. Specify a new database name and size and click OK.
- It then provides the Select Data Source dialog listing possible sources:
- Once the source is chosen (and depending on the type of source) you are presented with a selection file dialog to select the file you want to import. After selecting the file to import, click OK.
- Finally, the table and fields selection dialog appears and allows you to choose a table, then one or more fields in the selected table:
- You can specify conditions that enable you to filter out unwanted data from the external database.
Once the OK button is pressed, the selected fields are imported into the database. An import template, "impdb.i4" is created, which is used for the import stage.
The template may be edited to tailor the import channel names or data types. It can also be used as a template for use with GX Developer functions by advanced users.
Application Notes
A data source includes the data you want to access and the information needed to get that data.
Examples of ODBC Data Sources:
-
A SQL server database, the server on which it resides, and the network used to access that server.
-
A directory containing a set of dBASE files you want to access.
-
An Excel workbook accessed using the Excel ODBC drivers.
Got a question? Visit the Seequent forums or Seequent support
© 2024 Seequent, The Bentley Subsurface Company
Privacy | Terms of Use