Use the WHERE condition clause to specify which rows you want to delete from the table. The condition after the WHERE keyword is equivalent to the condition in the SELECT statement. For example, the next statement deletes all the rows of the items table where the order number is less than 1034:
DELETE FROM items WHERE order_num < 1034
In DB-Access, if you include a WHERE clause that selects all rows in the table, DB–Access gives no prompt and deletes all rows.
In Dynamic Server, if you are deleting from a supertable in a table hierarchy, a subquery in the WHERE clause cannot reference a subtable.
When deleting from a subtable, a subquery in the WHERE clause can reference the supertable only in SELECT...FROM ONLY (supertable)... syntax.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]