Consider adding a caret to the start of the regex or you'll match multiple zeros anywhere in the cell.
Would match 000000 000 123000 12345670 On Dec 17, 2010, at 1:55 PM, Ian Skinner <[email protected]> wrote: > > On 12/17/2010 11:41 AM, Michael Grant wrote: >> I think regex is the way to go for you. >> WHERE field = [0]* I think would work. > > Thanks, that was the seed of the idea I needed. > WHERE REGEXP_LIKE(grower_id, '0+') > > I just changed it to 0+ because I wanted to match one or more zeros > NOT zero or more zeros, which I expect would have matched ALL rows. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340126 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

