Quote:
Originally posted by stecal
Three issues.
2) Setting the methodology aside for the moment, based on your problem statement (checking records in a temp table against a master table, then inserting or updating depending on the case), does it not strike you as being obvious that you will be doing a record-by-record comparison in some form or another?
My reply would be yeah, but *how* that comparison is done is of great consequence. SQL is almost always the best way to go. If it can't be done in SQL, then PL/SQL. If it can't be done in PL/SQL, then Java or something else *on the server*. Finally, the worst way would be in some other language across the network.