Perfect! Yeah I suck at regex. On Fri, Dec 17, 2010 at 2:55 PM, Ian Skinner <h...@ilsweb.com> 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:340111 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm