Column Flag
Posted: Mon Sep 18, 2006 2:06 pm
In my source table i have flag column it contains "Y" or "Null"
If Source column = 'Y' i need to set CurrentDate() Else SetNull()
Today i populate data into the target column with currentdate(20060918) where source column = 'Y'.
when i try to extract data tomorrow same row will come but i dont want to change my target date to todays date.
That means when the flag becomes 'Null' to 'Y' then only i will populate date after that i dont want change the date.
Target Table:
loading data into oracle with insert and update query.
can any one please help me regarding this..
Thanks in advance
Samba
If Source column = 'Y' i need to set CurrentDate() Else SetNull()
Today i populate data into the target column with currentdate(20060918) where source column = 'Y'.
when i try to extract data tomorrow same row will come but i dont want to change my target date to todays date.
That means when the flag becomes 'Null' to 'Y' then only i will populate date after that i dont want change the date.
Target Table:
loading data into oracle with insert and update query.
can any one please help me regarding this..
Thanks in advance
Samba