Is it possible to test if a table exists on Server "B" when running a query on Server "A"? If the table does not exists, how can it be created via a linked server?
Here's what I'm actually attempting to do:
I have a temp table on Server "A" that needs to be matched up against a table on Server "B". The query via linked server runs terribly slow. If I could find a way to place the data from the temp table onto Server "B", and then run an OpenQuery, I could achieve a performance gain.
Any suggestions?
thanks in advance,
pete