>What's the problem you're trying to solve? Maybe there's another way to kick that cat.
OK, here is what I need to do:
I have to read a txt file that has one column worth of data. I update a certain table in the db where PK = the value read from the flat file - like this:
UPDATE Table1 SET stat='FAILURE' WHERE EXISTS (SELECT * FROM Temp1 WHERE Table1.PK = Temp1.key);
I was hoping that Temp1 would be a global temp table which I now know I cant use. So basically, its a question of an alternative way to read the flat file and use it in the update statement.
(I am doing all this in UNIX, so if there is a UNIX way to do it all, that would help too!)
Thanks a lot.