YMatrix
Quick Start
Standard Cluster Deployment
Data Modeling
Connecting to The database
Data Migration
Data Query
Maintenance and Monitoring
Performance Tuning
Troubleshooting
Reference Guide
SQL Reference
FAQ
Delete the sequence.
DROP SEQUENCE [IF EXISTS] name [, ...] [CASCADE | RESTRICT]
DROP SEQUENCE deletes the sequence generator table. You must have the deleted sequence (or become a superuser).
IF EXISTS
name
CASCADE
RESTRICT
Delete the sequence myserial:
DROP SEQUENCE myserial;
DROP SEQUENCE is fully compliant with the SQL standard, but this standard only allows one sequence to be deleted per command. Additionally, the IF EXISTS option is a YMatrix database extension.