Administer > Database administration > Data persistence > Database dictionary > Methods for adding database dictionary records > Create a database dictionary record by importing RDBMS columns

Create a database dictionary record by importing RDBMS columns

Applies to User Roles:

System Administrator

This procedure assumes the Service Manager system does not have table create-alter-drop-rights to the RDBMS system, and that you have not already created a database dictionary record for this change. If your system has table create-alter-drop-rights to the RDBMS system, then Service Manager automatically creates any necessary tables, columns, and indexes when you create a database dictionary record. If your Service Manager system does not have RDBMS table create-alter-drop-rights, we recommend you create the database dictionary record first and provide DDL to the RDBMS administrator to implement the necessary changes. The Service Manager administrator can then activate the database record when the RDBMS tables and columns become available. This procedure provides an alternative means for you to keep your database dictionary records synchronized with an RDBMS.

In order for Service Manager to successfully import columns into a database dictionary record, the RDBMS tables must have the following features:

  • The table names must be in uppercase
  • The table must be owned by a Service Manager user

To create a database dictionary record by importing RDBMS columns:

  1. Have your RDBMS administrator create the new tables and columns you want Service Manager to manage.
  2. Click Tailoring > Database Dictionary.
  3. Type the name you want to use for database dictionary record in the File Name field, and then click New.

    For example: newtableone.

    A new blank database dictionary record opens.

  4. Click the SQL tables tab.
  5. In the Alias field, type the short name you want fields in this database dictionary record to use to refer to this table. For example, m1.

    Note: Alias names are limited to three characters.

  6. In the Name field, type the name of the RDBMS table to which you want this database dictionary record to map.

    For example: NEWTABLEONEM1 .

  7. In the Type field, type one of the following codes to identify the vendor of your RDBMS.
    • db2 – for supported versions of IBM DB2 databases
    • oracle – for supported versions of Oracle databases
    • sqlserver – for supported versions of Microsoft SQL Server databases
  8. If this database dictionary maps to multiple RDBMS tables, repeat steps 5-7 for each RDBMS table.
  9. Click Import new columns from SQL to have the Service Manager server log in to the RDBMS and load all the columns from the SQL tables defined for the database dictionary record.

    Service Manager automatically displays new columns as fields in the database dictionary record.

  10. Click OK to save the database dictionary record.

Related topics

Database dictionary
Database dictionary records
Data persistence

Create an active database dictionary record
Create an inactive database dictionary record
Import RDBMS columns into an existing database dictionary record