Integration: Relational Databases

Generic ODBC

Overview | Environments | Databases | Tables | Constraints | Datatypes | Queries | Updates | Example


Databases

The CREATE DATABASE statement is used to declare a database within an Omnidex Environment File to be accessed through ODBC. This statement can either be issued directly, or it can be extracted from the database using the EXTRACT statement as discussed in the previous section.

The CREATE DATABASE statement must include the datasource that connects to the underlying database, as well as a user and password. It is recommended to use a System DSN, rather than a User DSN, so that the DSN will be accessible across all users and from the Omnidex Network Services.

create database                "SIMPLE"
 type                          odbc
 dsn                           "simple"
 user                          "simple"
 password                      "simple"
 index_directory               "idx"
 in                            "simple.xml";

ODBC Security

Omnidex provides three methods of supporting ODBC security.

One of these approaches must be used to allow connections to the database through ODBC. Administrators should insure that the user and password provides access to all of the database objects referenced in the Omnidex Environment Files.

Prev | Next

Additional Resources

See also: