Viewing 5 posts - 1 through 5 (of 5 total)
yes, it is right had to created temp table on that server first and then insert into it from linkserver.
Thank you.
October 11, 2010 at 3:57 am
Thank you again, accept your idea to create #tablename.
when I run this for testing
select top 1 * into [linkserver1].dbname1.##test from table1
the message result show as below and it create temptable...
October 11, 2010 at 3:40 am
Oh sorry..
I'm running it on sql2000.
but, when I run on sql2008
got error : 'Linkserver' is not configured for RPC.
Think my DBA need to do something configure on linkserver.
May I...
October 11, 2010 at 3:11 am
Thank you Gianluca Sartori.
when i run this
EXECUTE('DROP TABLE REMOTE_DATABASE_NAME.dbo.TEMP1') AT LINKED_SERVER_NAME
got error : Incorrect syntax near 'AT'.
October 11, 2010 at 2:29 am
Thank you so much, the query work fine with your help. 🙂
But, my idiot wrong logic doesn't make result come out what I want.
May 20, 2010 at 7:37 pm
Viewing 5 posts - 1 through 5 (of 5 total)