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

connect() succeeds but accept() does not?
Please help me with this problem. I'm working on a time-sensitive project where I'm using TCP socket

Table sorting
Hi,

I'm trying to modify the following in order to make the output table sorted alphabeticall

Polymorphism
Was wondering if someone could explain this a little better to me. I had always assumed that it had

Problem in String replace program's output
Hi all,
I was trying to make a program which accepts a string and replaces it with another stri

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

Search function
I am looking for some guidance from the experts.

I am trying to create a search function. It

Echo-ing MySQL content and Keep Formatting?
I have data in my MySQL such as:

QuoteBlah blah

Blah blah

etc
but when i ech

Guixt issue
Hello all,

We are experiencing the following problem with Guixt:

Some transact

Looping Problem
I've got a client that has a database with about 200 events at any given time. I'm trying to loop t

Multithreading in Oracle (Java, SQLJ, Pro*C,??) on 10g
I am investigating how to run a Java stored procedure in multithread mode.
I know that if I chang

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