Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Might be advanced Update statement
Challenge:
I have a table like this:
Pos Parent Child ExpiredDate Info
1 1000 401 31-12-1899 U 2 1000 500 30-03-2000 3 1000 500 31-12-1899 U 4 1000 700 30-03-2000
In this example Pos 2 and 3 both contains Parent 1000 and Child 500. Pos
2 has Expired
(Date<>31-12-1899).
What i need is a SQL Update statement which
Sets INFO of the Not Expired row equals INFO of the expired row WHERE
INFO = U.
--
Regards Halvor
A great Oracle tool:
http://members.tripod.com/easydoc/dim.htm
http://members.tripod.com/Nybbies/vb.htm
Received on Thu Mar 30 2000 - 02:17:28 CST