If msql4 supports transactions then you have no problems. That's what transactions is all about, multiple queries that rely on one or another failing, to summarise it up.
On 3/29/07, Matthew Chambers <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'm trying to find some up to date (MX7) info on how to correctly use > CFTRANSACTION when writing to a DB (MySQL). All I am doing is one CFQUERY > for the INSERT statement and then a second CFQUERY for the last_insert_id(). > > I think MySQL v5 allows you to have more than one SQL statement per > CFQUERY however I'm using v4. > > Cheers > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274060 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

