teknikalbody
Programmer
Hi,
If I have a table 'INPUT' made of the cols ex. ID, FLAG, FLAG2, DATE1, DATE2, DATE3, DATE4, TRIGGAR etc etc. then how can I update the TRIGGAR col to produce a resultant table 'OUTPUT' based on some criteria on the other 'INPUT' cols. Ex. if DATE1 > DATE2 then TRIGGAR = 1, but the triky bit is that if for the same record FLAG2 = 7 then TRIGGAR = 8 then this also needs to included in the 'OUTPUT' ... in short one record can be a number of TRIGGAR combinations that all need to be included in the 'OUTPUT'.
Im sorry if I havnt xplained this well, but please help I am really stuck with this.
TIA
If I have a table 'INPUT' made of the cols ex. ID, FLAG, FLAG2, DATE1, DATE2, DATE3, DATE4, TRIGGAR etc etc. then how can I update the TRIGGAR col to produce a resultant table 'OUTPUT' based on some criteria on the other 'INPUT' cols. Ex. if DATE1 > DATE2 then TRIGGAR = 1, but the triky bit is that if for the same record FLAG2 = 7 then TRIGGAR = 8 then this also needs to included in the 'OUTPUT' ... in short one record can be a number of TRIGGAR combinations that all need to be included in the 'OUTPUT'.
Im sorry if I havnt xplained this well, but please help I am really stuck with this.
TIA