writing data into two different tables
Posted: Wed May 31, 2006 8:00 am
I have two tables
1st one is main source, i have a field x in that.
2nd one is a look up , i have a field y in that.
Both the datatype and length are equal.
my 1st problem is, if the record exist in x, and if the same record exist in y then i need to write to write to a flat file .how to implement this condition.
my 2nd problem is, if the record exist in x, and does not record exist in y ,then i need to write in another flat file, how to implement this condition.
thanks in advance
1st one is main source, i have a field x in that.
2nd one is a look up , i have a field y in that.
Both the datatype and length are equal.
my 1st problem is, if the record exist in x, and if the same record exist in y then i need to write to write to a flat file .how to implement this condition.
my 2nd problem is, if the record exist in x, and does not record exist in y ,then i need to write in another flat file, how to implement this condition.
thanks in advance