Jump to content

Need Simple Syntax Help To Replace A Field Within Range Of Id's


simcoweb

Recommended Posts

Amazing I couldn't find this just Googling it but the results hit all around it but nothing specific.

 

What I need to do is:

 

1) modify/overwrite the content in the field called 'couponname'

2) but only for the entries that are in a range of 'couponid' of 61202 and 61267

 

I tried this but got a syntax error:

 

UPDATE isc_coupons SET couponname = replace(couponname,'CBS Local 7-2012') WHERE couponid BETWEEN 61202 AND 61267

 

A little help, please! Thanks in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.