Dropping a sequence generator
Procedure
- Log on to the NonStop SQL/MX Database Manager.
- In the navigation tree, navigate to Schemas folder by expanding Database > My Systems > Catalogs > Schemas.
- Expand Sequences folder (left pane) or click the Sequences tab (right pane), and select the sequence generator you want to remove.
-
Right-click and select
Drop Sequence.
The Confirm Drop Sequence dialog box appears.
-
Select
Restrict or
Cascade option.
-
If you select Restrict option and there are one or more triggers that reference the selected sequence generator, then the sequence is not dropped. And an error message is displayed.
-
If you select Cascade option and there are one or more triggers that reference the selected sequence generator, then the selected sequence generator and related triggers are dropped.
-
- Click Yes.