Deleting Multiple Records - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Coldfusion mx

Table of Contents