updating a single value to multiple non consecutive rows


Posted on 16th Feb 2014 07:03 pm by admin

I need to update the same value to multiple non consecutive rows. I need to add an experation date to about 6000 parcels.
I know I can update 1 with

SQL> update parcel
Did you know?Explore Trending and Topic pages for more stories like this.
2 set expdate = sysdate
3 where prclid = 'A';

I imagin I need some thing like the following

SQL> update parcel
2 set expdate = sysdate
3 where prclid = 'A','C', 'D', 'G','E', 'J' ....
No comments posted yet

Your Answer:

Login to answer
185 Like 7 Dislike
Previous forums Next forums
Other forums

adding 0 to numbers
Hey guys i need to create a 00001 number in a loop. Is there a better way of forcing a 5 digit numbe

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

why aint this working?
i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rc

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

Save username into DB
OkaY so I got my blog to actually save the posts and whatever, all I need now is for it to keep the

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

How to make a mail Form secure?
I want to create an email Form on my web site. How can I make the Form secure so the submitted info

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

Registration
ok so i have a site where people can register and login which works now thanks to someone on here th

Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash