222
VALUES
</CFQUERY>
<!------------------------------------------------------------------
Rolls back the pending insertion if database exception is caught.
------------------------------------------------------------------->
<CFCATCH TYPE="DATABASE">
</CFCATCH>
<CFIF commitIt>
<CFELSE>
</CFIF>
</CFTRANSACTION>
</CFTRY>
</BODY>
</HTML>
CorName, CorLevel, LastUpdate)
('#myNumber#', '#myDescription#', '#myDepartment#',
'#myDescription#', '#myCorLevel#', #Now()#)
<CFTRANSACTION ACTION="ROLLBACK"/>
<CFSET commitIt = "No">
<CFTRANSACTION ACTION="COMMIT"/>
<!--------------------------------------------------------------
Commits the pending insertion.
---------------------------------------------------------------->
<CFSET commitIt="Yes">
CFML Language Reference
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?