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

Basic Forum Tutorial
Hi, I'm new to PHP. I want to build a basic forum for my site using PHP and MySQL. I've searched t

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

help finding hacking loopholes
i was attacked by a redirect php injection

my pc is clean of viruses

so i figure that

Am I setting up my sites oldschool?
Ok,

When I create a site I open a basic template that I have created that consists of a css f

DBCA Templates
Hi all,

I'm working on creating a template for DBCA, but can't find any documentation on the

foreach loop, assistance request
I would like some guidance on the usage of foreach as I try to parse through a large database and wh

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

FlashVar function how to insert variables
Hi guys. Im new in this forum and also new in php programming. Can you help me about this code?
<

Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so

 formating when pulling data from a mysql database 
Ok so Im not to sure if this is the right thread to post in but here is my catch 22 issue.

I

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