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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.