Oracle Warehouse Builder use the gateway capabilities of the oracle database to create Non-Oracle Module.
This article will create an ODBC Non-Oracle Module on Excel data source.
Set up the ODBC connectivity to a data source
To set up the ODBC connectivity to a data source, you have perform the steps :
- Create the Excel Sheet
- Create an ODBC System Dsn Connexion
- Create the Heterogeneous Services Initialization File
- Set up the listener on the agent
- Create a Net Service Name
Creating an ODBC Module
After you set up the ODBC connectivity to a data source, you must create an ODBC module to import the metadata from this data source. The ODBC node is available under the Databases node in the Projects Navigator. To create an ODBC module:
- Right-click ODBC and select New ODBC Module. The Create Module Wizard is displayed.
- In the Name and Description page, provide a name, description (optional), and select a module status.
- In the Connection Information page, either select an existing location or click Edit to open the Edit Non-Oracle Location Dialog Box and provide the connection details (see the paragraph below for more details)
- In the Summary page, verify the details and click Finish.
The newly created ODBC module is now available under the ODBC node.
If you selected Host:Port:Service, then provide the following connection details:
- User Name/Password: You can provide a dummy user name and password as you are not connecting to an Oracle database.
- Host: Machine on which the database is hosted.
- Port: SQL port number of the database.
- Service Name: The SID_NAME that you specify in the listener.ora file.
- Schema: You can leave this field empty if you are not importing from a schema.
If you selected Database Link, then provide the following connection details:
- From Location: An existing location where the database link is defined
- Database Link Name: The object name of the database link
- Schema: The schema where the source data is stored or the target objects will be deployed.
For SQL*Net, provide the following connection details:
- User Name: The database user credential that has permission to access the schema location. When connecting to a database that does not have user names, enter any text as a mock user name.
- Password: The password associated with user name. When connecting to a database that does not require password, enter any text as a mock password.
- Oracle Database - Net Service Name (tnsname): The name of the predefined connection.
- Use Global Name: The unique name of the database, which is composed of the database name and the domain in the form database_name.database_domain. Select this option when connecting to a database in a different network.
Click Test Connection to verify that you have provided the correct details and click OK to set the connection details.
When you want to import the metadata, you will see the name define in the creation step of the excel file.