Delete a key

Applies to User Roles:

System Administrator

You can delete keys from System Definition and from the Database Dictionary utility. Choose one of the following methods to delete a key.

Delete a key by using System Definition

To delete a key by using System Definition:

  1. From the System Navigator, click System Definition > Tables > file_name > Fields

    Note: You can type the first letter of a table name to jump to that alphabetic section. For example, type o to jump to the oncall table.

    An overview of the table opens.

  2. Select the Fields and Keys tab.
  3. In the Keys section, click on a key.

    Caution: When you select a key for deletion, you do not receive a confirmation message. The key is automatically deleted.

Delete a key by using the Database Dictionary utility

Example: Delete the Nulls & Duplicates key for operators in the assignment1 database dictionary record.

To delete a key by using the Database Dictionary utility:

  1. Click Tailoring > Database Dictionary.
  2. Open the assignment file, and then make a copy of the assignment dbdict named assignment1.
  3. Open the assignment1 dbdict record.

  4. On the Keys tab, place the cursor in the Nulls & Duplicates section under which the operators key is located, and then click Edit Field/Key. The key window opens.

  5. Click Delete from the tool tray.
  6. Click Yes to confirm the delete.

    The screen redisplays with the key operators removed from the list of keys, and the keys below it moved up to take its former place.

  7. Click OK to close and automatically update the file.

    You receive a message that states the record has been updated in the dbdict file.

Related topics

Deleting a key
Adding a key
Modifying a key
Arrays
Structures
Arrayed structures
Alias fields
Adding a key
Methods for updating database dictionary records
Methods for deleting database dictionary records
Open a database dictionary
Copy a database dictionary and data records
Add a key as the first key
Insert a key between other keys
Add keys to bottom of the key list
Modify keys: Nulls and duplicates to unique
Access the Database Dictionary utility
Regen a database dictionary