Connecting Tech Pros Worldwide Forums | Help | Site Map

passing db table values from one sql server instance to another sql server instance

Newbie
 
Join Date: Jun 2009
Posts: 31
#1: Oct 17 '09
I have a table "Client" in database "Sample" in a sql server instance "sa" i want to pass all the table"Client" values into another sql server instance "demo" by runing just an stored procedure.

Thanks in advance

Newbie
 
Join Date: Jun 2009
Posts: 31
#2: Oct 17 '09

re: passing db table values from one sql server instance to another sql server instance


Thanks any way, I got the solution we can use

EXEC sp_addlinkedserver dataserver, N'SQL Server' &
EXEC sp_addlinkedsrvlogin dataserver, 'false',null, 'sa', 'sqlserver'
Reply