Advertisement

03.30.2006 at 11:07AM PST, ID: 21795736
[x]
Attachment Details

UPDATE statement for copying from one column to another in same table

Asked by chsrinivas123 in Oracle Database

Tags: column, update, another, from, one

I have a table which tracks how a task is moving from one approver's queue to another.I have these columns.
RTE_IDFR, RTE_SEQ_NBR , DATE_ASGN, RTE_ACTN_DATE, DATE_AVBL.
for1st aprover RTE_SEQ_NBR will be 1 for 2nd one 2 so on.RTE_IDFR, DATE_ASGN will be same for all approvers of one task.
I want to update date_avbl for 1st approver to be DATE_ASGN and for all subsequent approvers DATE_AVBL should be updated to RTE_ACTN_DATE of previous approver.I have correct RTE_ACTN_DATE for whole table but DATE_AVBL column is all messed up and hence i want this update.
Column descriptions :
 RTE_IDFR                                  NOT NULL NUMBER(10)
 RTE_SEQ_NBR                               NOT NULL NUMBER(5)
 DATE_ASGN                                 NOT NULL DATE
 RTE_ACTN_DATE                                      DATE
 DATE_AVBL                                          DATE
 Start Free Trial
[+][-]03.30.2006 at 11:50AM PST, ID: 16336053

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.30.2006 at 12:25PM PST, ID: 16336446

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.30.2006 at 12:28PM PST, ID: 16336472

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle Database
Tags: column, update, another, from, one
Sign Up Now!
Solution Provided By: actonwang
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.30.2006 at 01:35PM PST, ID: 16337128

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.30.2006 at 03:06PM PST, ID: 16337852

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.30.2006 at 05:51PM PST, ID: 16338727

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32