The MAX(ID) technique only works 100% if you use a serializable transaction in the cftransaction tag, which can impact performance.
On 2/12/06, Mike Soultanian <[EMAIL PROTECTED]> wrote: > If you're sure about that, go with it. However, from a previous > conversation, it didn't seem that was the consensus... but I could very > well be wrong... > > Mike > > Aaron Rouse wrote: > > It does a transaction in the database itself, assuming the database being > > used supports transactions. This would ensure that you get back the ID that > > you just inserted. -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232053 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

