Thanks gxm,
However, I screwed-up my original example, big sorry for that!
The Sequence Number is not in table_2 and table_3. The Sequence number is from table_1 and table_3. The key points are: table_1 is the Schema, table_1 has the original 250,000 sequence numbers, [table_2].[Property] = |->[Site_ID_1] Here is what I'm trying to do:
@{table_2}:
select * from @[table_2]
INNER JOIN @[table_3]
on |->[Sequence Number]=@[table_3].[Sequence Number]
where @[table_2].[Property] = |->[Site_ID_1]
When I code it like this I get a "OLEDB Message: Syntax error in FROM clause." I've stared at this so long I can't think straight anymore. I just tried adding a where [seq] IN () and paste the list of seq numbers with just 1 number and it did not work. Now that I've posted the real problem, could anyone point me in the right direction?
Thank you very much for helping,
Ed