cfquery - delete data
cfqueryDelete.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfquery tag example: how to delete data</title>
</head>
<body>
<h2 style="color:hotpink">cfquery example: data delete</h2>
<cfquery name="qAuthorsDelete" datasource="cfbookclub" result="AuthorsDelete">
DELETE FROM AUTHORS WHERE AuthorID>15
</cfquery>
<cfdump var="#AuthorsDelete#">
</body>
</html>