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

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.

主站蜘蛛池模板: 庄浪县| 宜丰县| 衡东县| 滦南县| 景东| 呈贡县| 渭南市| 吉水县| 商都县| 尼玛县| 临武县| 翼城县| 凤庆县| 昔阳县| 潼南县| 扶余县| 万盛区| 桓仁| 色达县| 卢湾区| 张家界市| 长寿区| 临潭县| 桐庐县| 嘉黎县| 成都市| 六枝特区| 昌江| 佛冈县| 永清县| 久治县| 富宁县| 桃源县| 黄大仙区| 阜宁县| 古田县| 遂川县| 正阳县| 华亭县| 桃园市| 新野县|