Logic for implementation of the req
Posted: Tue Oct 04, 2011 12:27 pm
Gurus, here is something that I need your help on
I have two cols - F.No and W.No (Both of Datatype Integer), and two date cols , s.date and e.date
||F.No||W.NO||e.date||s.date||
F.no - is supposed to have only one W.no associated with it, and only either of s.date or e.date associated with it.
Currently its so happening that some W.no's have both e.date and s,.date , and if that is happening we need to push the s.date ahead (something like a s.date + 5, not quite that simple , but for the purposes of this conv something like that).....
This so, that every w.no has only date associated with it.
I'm really stumped for the logic and don't where to begin.
Any pointers in the right direction are greatly appreciated
Thank you for your time
Regards
IS
I have two cols - F.No and W.No (Both of Datatype Integer), and two date cols , s.date and e.date
||F.No||W.NO||e.date||s.date||
F.no - is supposed to have only one W.no associated with it, and only either of s.date or e.date associated with it.
Currently its so happening that some W.no's have both e.date and s,.date , and if that is happening we need to push the s.date ahead (something like a s.date + 5, not quite that simple , but for the purposes of this conv something like that).....
This so, that every w.no has only date associated with it.
I'm really stumped for the logic and don't where to begin.
Any pointers in the right direction are greatly appreciated
Thank you for your time
Regards
IS