Whatever message this page gives is out now! Go check it out!
QueryClear(queryObject)queryObject.Clear()| Parameter | Required/Optional | Description |
queryObject | Required | The query object whose records are to be deleted. |
<cfscript>
myResult=QueryExecute("SELECT * FROM EMPLOYEES WHERE EMP_ID > 10",[],{datasource="cfdocexamples"});
WriteOutput("Original query object")
writedump(myResult)
// Query clear
QueryClear(myResult)
WriteOutput("After applying QueryClear")
writedump(myResult)
</cfscript>