chad wrote: > I cant find in any of the books if all the queries in a CFTransaction block > are single threaded.
It is in your database docs, not in the CF docs. > Like if i have three querys in the CFTransaction: > > <cftransaction> > Query #1: Insert into DB > > Query #2: Select from DB to get highest number of Query #1 and increment by 1 > > Query #3: Insert into DB using the UID created in query #2 > </cftransaction> > > Will CFTransaction Only allow user 1 to do this, and user 2 has to wait? IIRC, if you set the isolation level to serialize it will work the way you want it to. > Im afraid Query #2 will get bad data. Will CFLOCK around a CFTransaction help? Around all cftransactions it will help, but it will also kill performance. Use the transaction and read your database manual on the specifics of the isolation level. Jochem ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

