To import objects from a SQL Server ODBC provider data source

  1. Click the Import button in the CONNX Data Dictionary Manager window.

  2. The Import CDD dialog box appears. Select SQL Server from the Import Type list box.

    image28.gif
     

  3. Select the Include System Tables check box to access system tables. Select the Get Statistics check box to identify table sizes. This is used by CONNX query optimization.

  4. Select ODBC Provider under Select Provider Type, and then click the Select DSN button in the Logon Information pane.

    image29.gif
     

  5. The Select ODBC DSN dialog box appears. You can choose either a user, system, or file-based DSN, although it is recommended that a file-based DSN be used, since it can be accessed through a network by multiple users.

    image30.gif

    File DSN (Recommended)

    Click the Browse for File DSN button to open the Open dialog box. Select a file-based DSN from lists of available .dsn files.

    System DSN or User DSN

    Select the Show only System DSN check box to view a list of system DSNs only. Clear the check box to show a list of both user and system DSNs. Note that the ODBC Driver Information text box displays information about the selected ODBC DSN. The same information can be found in the ODBC Data Source Administrator dialog box. Click the OK button in the Select ODBC DSN dialog box to return to the Import CDD dialog box, which displays the selected DSN.

    In this example, a system DSN is used. Click the OK button.

    image32.gif
     

  6. The Import CDD dialog box appears.

    image34.gif
     

  7. Enter a user name and password appropriate to the data source.

  8. To specify a catalog, enter a name and password for the database, and then click the Select Catalog button to log into the database and view a list of available catalogs. The Select a Catalog dialog box appears.

    image35.gif
     

  9. Select a catalog, and then click the OK button to return to the Import CDD dialog box. Normally, only user-defined tables can be selected for import.

    image38.gif
     

  10. Click the OK button. The CONNX Import Table Selection dialog box appears with a list of available table names. To import all of the tables in the database, click the Add All button. To import some of the tables in the database, select the tables to import, and then click the Add button.

    image39.gif
     

  11. Click the OK button to import the selected tables into CONNX. The imported tables are added to the list of accessible objects in the CONNX Data Dictionary Manager window.

    image40.gif