Hi All, This SQL INSERT logic below works in ColdFusion 5:
<cftransaction>
<cfquery name="add" datasource="#request.dsn#">
INSERT INTO FILEA (FIELD1, FIELD2, FIELD3)
VALUES('Value 1', 'Value 2', 'Value 3')
</cfquery>
</cftransaction>
We recently installed ColdFusion MX server and now the code gives an error
message
"Error Executing Database Query."
I've removed the <cftransaction> tag and the "insert" logic is working now.
Do you know
why <cftransaction> tag didn't work in the above SQL INSERT logic?
Thank you in advance,
Jonathan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4