Deleting data

To remove data from a database, you can do any of the following:

For syntax of these statements, seeChapter 1, “SQL Statements,” in Reference: Statements and Options.

Space for deletions

When you use the DELETE or TRUNCATE TABLE statement, you may need to add space to your database, due to the way Sybase IQ stores versions of data pages. For details, see “Overlapping versions and deletions”.

When you use DROP TABLE, you do not need to add space, as no extra version pages are needed.