Integration: Relational Databases

SQL Server


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

The CREATE DATABASE statement must include the DSN or File DSN that identifies the SQL Server database, as well as the SQL Server user and password.

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

SQL Server Security

Omnidex provides three methods of supporting SQL Server security.

  • Administrators can control security in the SQL Server datasource.
  • Administrators can register a user and password in the Omnidex Environment File. This user and password will always be used to access the SQL Server database, and no users and passwords will be needed from the application.
  • The application can pass a user and password in the Omnidex Connection String. This user and password is then passed directly to SQL Server to access the database.

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

Additional Resources

See also:

Back to top
integration/rdbms/sqlserver/databases.txt ยท Last modified: 2016/06/28 22:38 (external edit)