Deleting multiple records
You can use a SQL condition to delete several records. The following example deletes the records
for everyone in the Sales department (which has Dept_ID number 4) from the Employee table:
DELETE FROM Employee
WHERE Dept_ID = 4
To delete all the records from the Employee table, use the following code:
DELETE FROM Employee
Caution: Deleting records from a database is not reversible. Use DELETE statements carefully.
450
Chapter 21: Updating Your Database
Need help?
Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?
Questions and answers