SQL/MX 3.2.1 Reference Manual (H06.26+, J06.15+)
SQL/MX Statements
HP NonStop SQL/MX Release 3.2.1 Reference Manual—691117-005
2-309
Examples of PURGEDATA
Examples of PURGEDATA
•
This example purges the data in the specified table. If the table has indexes, their
data is also purged.
PURGEDATA mycat.myschema.mytable;
•
This example purges the data in the specified partition, which has a Guardian
name:
PURGEDATA mycat.myschema.mytable
WHERE LOCATION $DATA1.ZSDA09TO.QZ780000;
•
This example purges data from all partitions of the table:
PURGEDATA mycat.myschema.mytable
WHERE KEY = FIRST PARTITION THRU LAST PARTITION;










