I have a table with a big number of email addresses. I want to send out mail in batches of 1000. For this I need to select the top 1000 records where a flag is false, and then set this flag to true so I won't select them for the next batch. Can this be done in one query, maybe with a stored procedure, or do I have to do this with two queries wrapped in a cftransaction? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- Re: Cold Fusion vs. PHP or ASP Josh R
- CF flavor of Hungarian? Matt Wisdom
- Re: CF flavor of Hungarian? Billy Cravens
- Another free class Hal Helms
- Another debate Kelly Shepard
- Re: Another debate Michael Dinowitz
- query between 2 database types Eli Shechter
- Re: query between 2 database types Greg Wolfinger
- RE: query between 2 database types Allan Pichler
- RE: query between 2 database ... Peter Stolz
- RE: query between 2 datab... Dirk De Bock
- RE: query between 2 database types Rick Lamb
- Re: query between 2 database ... Neil H.
- Re: Another debate Joe Sheble aka Wizaerd
- RE: Another debate - absolute rubbish. JustinMacCarthy
- Re: Another debate Peter Theobald
- Re: Another debate Peter Theobald
- RE: Another debate JustinMacCarthy
- Re: Another debate Stephen M Aylor
- Re: Another debate Greg Wolfinger
- Re: Another debate Stephen M Aylor