You could try something like: UPDATE tablename SET column = 0 WHERE ID = between 100 and 200 and ID % 2 = 0
-----Original Message----- From: Tony Carcieri [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 1:54 PM To: CF-Talk Subject: OT: SQL Question Hi all, Here's what I want to do: UPDATE tablename SET column = 0 WHERE ID = ??????? I want to specify a range of numbers (like 100-200) and increment it by 2. So, 100, 102,104etc would only be updated and the rest wouldn't. Any ideas? Thanks, T ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com