Remove a field from an existing database dictionary record

Applies to User Roles:

System Administrator

This procedure maps any unwanted fields in your system to NULLTABLE. Service Manager does not actually remove data or delete the corresponding columns from the RDBMS.

Important: We recommend you leave any unwanted columns mapped to NULLTABLE rather than actually deleting them from the RDBMS to preserve any legacy data these columns may still contain and to provide you a means to remap the columns at a later date.

If you choose to remove the column from the RDBMS, Service Manager will recognize the change and update the database dictionary record to map the deleted column to NULLTABLE the next time you restart the server and query the RDBMS table that contained the deleted column.

To remove a field from an existing database dictionary record, add a table nulltable with alias n1, using the dbdict utility:

  1. Log in to Service Manager as a System Administrator.
  2. Click Tailoring > Database Dictionary.
  3. In the File Name field, enter the required file name, and then click Search.
  4. When the correct file is displayed, select the SQL Tables tab.
  5. Add the following line:

    Alias Name Type
    n1 NULLTABLE sqlserver

6. Click OK. A message appears, stating that the record has been updated in the dbdict file.

7. Select the Fields tab and double-click the column to be moved to the Null Table. The field window opens.

8. In the SQL Table field, change the entry from m1 to n1.

9. Click OK to return to the dbdict record. The 'SQL Table' column value for the changed field is now 'n1.'

10. Click OK to save the changes in the specified table. A message appears, stating that the record has been updated in the dbdict file.

When you select the table through the System Definition utility, you will see the change.

Related topics

Automatic update of database dictionary records
Database dictionary
Database dictionary records

Activate a database dictionary record
Add a field to an existing database dictionary record
Import RDBMS columns into an existing database dictionary record
Update an existing database dictionary record