AccessSQLUser
Programmer
I need to create 2 temp tables based on data from 2 separate databases and then I need to compare the values in the 2 tables. Since the keyword USE cannot be used in a stored procedure, I place the "Use db1..Select ... Into .. From ... Where..." statement into a string and then execute that string. The problem is that after I execute the string, the temp table is no longer available. How do I ensure that the table will be available until after the procedure is over?