To insert multiple rows, you'll need to loop through your data and do consequtive inserts with a <cfquery> tag. I would recommend reading up on the <cfloop> tag as this should do what you need.
To do multiple deletes, you can just do a standard delete and set your criteria to match whatever rows you want to delete. Here's an example:
<cfquery ...>
delete from table1 where idNum > 1 and idNum < 10
</cfquery>
This would delete all rows where the idNum is between 1 and 10.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.