Delete database objects

After you have created these objects on your system, you might want to drop them to save on system resource. You need Delete authority to perform these tasks.
Note: To keep the information in these tables, create a third schema and copy the tables and views to it.
  1. First, drop INVENTORY_LIST table from LIBRARY1:
    1. In the iSeries™ Navigator window, expand the system that you want to use.
    2. Expand Databases and the database that you want to work with.
    3. Expand Schemas and select LIBRARY1.
    4. Select Tables.
    5. Right-click INVENTORY_LIST and select Delete or press the Delete key.
    6. On the Object deletion confirmation window, select Delete. INVENTORY_LIST table is dropped.
  2. Next, delete SUPPLIERS from LIBRARY1, and delete LIBRARY1:
    1. Right-click SUPPLIERS and select Delete or press the Delete key.
    2. On the Object deletion confirmation window, select Yes.
    3. A new window opens, indicating that the view, LOWER_COST, is dependent on SUPPLIERS. The view should also be deleted. Click Delete.
    4. SUPPLIERS and LOWER_COST are deleted. Now that LIBRARY1 is empty, delete it by right-clicking it and selecting Delete.
    5. On the Object deletion confirmation window, select Yes. LIBRARY1 is deleted.
  3. Finally, delete SAMPLELIB:
    1. Navigate to SAMPLELIB in the Schemas menu.
    2. Right-click SAMPLELIB and select Delete.
    3. On the Object deletion confirmation window, select Delete.
    4. A new window opens, indicating that the table INVENTORY_LIST and view RECENT_ORDERS are dependent on INVENTORY_LIST. These should also be deleted. Click Yes.
SAMPLELIB, INVENTORY_LIST, and RECENT_ORDERS are deleted.
Related information
iSeries Navigator tasks