puneet
03-29-2001, 08:54 PM
Hi
I have a table like this
REG TIMESTAMP
--------- ---------
0 18-JUN-99
8537 10-SEP-99
69281 04-OCT-99
71222 05-OCT-99
73340 06-OCT-99
75139 07-OCT-99
76848 08-OCT-99
79014 09-OCT-99
80474 10-OCT-99
I want to write a PL/SQL program to check whether the REG between the 1 st and the 2nd row have date of 18- JUN -99 or not and then 2 and 3 rd row to have 10-SEP-99 . If some REG do not have that date then what date do they have
EX
0-8537 should have 18-JUN-99
69281-8537 should have 10-sep -99
if any discrepance then
REG timestamp
2345 - 20-jun-99
Please let me know the program for this
regards
I have a table like this
REG TIMESTAMP
--------- ---------
0 18-JUN-99
8537 10-SEP-99
69281 04-OCT-99
71222 05-OCT-99
73340 06-OCT-99
75139 07-OCT-99
76848 08-OCT-99
79014 09-OCT-99
80474 10-OCT-99
I want to write a PL/SQL program to check whether the REG between the 1 st and the 2nd row have date of 18- JUN -99 or not and then 2 and 3 rd row to have 10-SEP-99 . If some REG do not have that date then what date do they have
EX
0-8537 should have 18-JUN-99
69281-8537 should have 10-sep -99
if any discrepance then
REG timestamp
2345 - 20-jun-99
Please let me know the program for this
regards