The batch drop operation allows you to drop multiple objects. This operation also applies to searched objects.
Perform the following steps to batch drop objects:
The Drop Objects tab displays the list of objects to be dropped.
Column Name |
Description |
Example |
---|---|---|
Type |
Displays information about the object type. |
Table, view |
Name |
Displays the object name. |
public.bs_operation_201804 |
Query |
Displays the query that will be executed to drop objects. |
DROP TABLE IF EXISTS public.a123 |
Status |
Displays the status of the drop operation.
|
|
Error Message |
Displays the failure cause of a drop operation. |
The table abc does not exist. Skip it. |
Option |
Description |
---|---|
Cascade |
The cascade drop operation is performed to drop dependent objects and attributes. The dropped dependent objects will be removed from Object Browser only after the refresh operation is performed. |
Atomic |
The atomic drop operation is performed to drop all objects. If the operation fails, no objects will be dropped. |
No selection |
If neither Cascade nor Atomic is selected, no dependent objects are dropped. |
Runs: displays the number of objects that are dropped from the object list
Errors: displays the number of objects that are not dropped due to errors