This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
integration:rdbms:odbc:databases [2011/04/06 18:52] doc |
integration:rdbms:odbc:databases [2016/06/28 22:38] (current) |
||
---|---|---|---|
Line 21: | Line 21: | ||
==== Databases ==== | ==== Databases ==== | ||
- | The [[dev:sql:statements:create_database:home|CREATE DATABASE]] statement is used to declare a database within an Omnidex Environment File to be accessed using ODBC. This statement can either be issued directly, or it can be extracted from the database through ODBC using the EXTRACT statement as discussed in the previous section. | + | The [[dev:sql:statements:create_database:home|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 DSN or File DSN that identifies the ODBC datasource, as well as the ODBC user and password. | + | 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. |
<code> | <code> | ||
Line 43: | Line 43: | ||
* The application can pass a user and password in the [[dev:connections:home|Omnidex Connection String]]. This user and password is then passed directly to ODBC to access the database. | * The application can pass a user and password in the [[dev:connections:home|Omnidex Connection String]]. This user and password is then passed directly to ODBC to access the database. | ||
- | One of these approaches must be used to allow connections to the database using ODBC. Administrators should insure that the user and password provides access to all of the database objects referenced in the Omnidex Environment Files. | + | 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. |
===== ===== | ===== ===== |