OrWolf
MIS
- Mar 19, 2001
- 291
I want to compare a table in a primary database to a like table in another database without adding it as a linked table using a sql statement. Can anyone help me with this?
Additional explanation:
I'm creating SQL statements to archive data into four individual databases based on regions. Up to this point it's been smooth sailing using a variable location based on the users region to determine the correct database, then 'INSERT INTO' sql statements to add the necessary records prior to deleting them. However I have a master department table that I want to archive without appending duplicate records, and without deleting records. This is why I need to create the comparison and I'd rather do it without creating four linked tables for both my department and facility tables. This very well may be wishful thinking.
Any suggestions would be greatly appreciated.
Additional explanation:
I'm creating SQL statements to archive data into four individual databases based on regions. Up to this point it's been smooth sailing using a variable location based on the users region to determine the correct database, then 'INSERT INTO' sql statements to add the necessary records prior to deleting them. However I have a master department table that I want to archive without appending duplicate records, and without deleting records. This is why I need to create the comparison and I'd rather do it without creating four linked tables for both my department and facility tables. This very well may be wishful thinking.
Any suggestions would be greatly appreciated.