官术网_书友最值得收藏!

Adding new Open Database Connectivity (ODBC) data source

To add a new Database data source connection to import tables, follow the following procedure:

  1. In the Designer, go to Tools | Source Analyzer to open the Source Analyzer as indicated in the previous screenshot.
  2. Go to Sources | Import from Database as indicated.
  3. To add a new Database connection, click on the tab as shown in the following screenshot:
  1. A popup to add a new connection will appear on the screen.
  2. We need to add a new User DSN as shown in the following screenshot:
  1. The next screen will allow you to select the desired database from the list of databases. For our reference, we are using Oracle Database in this book.

 

 

  1. Select the type of Database you wish to add, and click on Finish as shown in the following screenshot:
  2. A new window will pop up on your screen. Mention the following details to add a new connection, as shown in the following screenshot.
    • Data Source Name: Enter the name of the Data Source. This can be any name for your reference.
    • Description: Specify some description for the connection.
    • TNS Service Name: Mention the service name for your connection. We are using XE as the service name (this is the default service name for Oracle 10g Database).
    • User ID: Mention the user ID. We are using HR as our user ID for making the connection.
  1. After providing all the details, click on Test Connection.
  2. A new window will pop up as shown in the following screenshot.
  3. Specify the password for Oracle database, and click on OK.

If all the values mentioned by you are correct, the Test Connection will be successful.

We have added a new Database connection to our Repository, and we can import the tables using the new connection.

You can add different types of Databases to your repository. This is just a one-time process you need to perform before you can start using the tables.

主站蜘蛛池模板: 玉环县| 澎湖县| 施秉县| 瑞昌市| 同江市| 巴彦县| 房山区| 建水县| 肥城市| 黎城县| 马关县| 奎屯市| 西丰县| 喜德县| 馆陶县| 盱眙县| 盈江县| 高阳县| 靖安县| 石渠县| 正定县| 安溪县| 格尔木市| 无为县| 剑阁县| 红桥区| 南平市| 新邵县| 江安县| 云安县| 西乌| 太谷县| 霍林郭勒市| 富民县| 咸丰县| 盘山县| 龙胜| 泾阳县| 洪雅县| 曲阜市| 淳安县|