There is a SQL Server Instance-1....With a Database-1....haveing 6 tables Among which 3 of the tables have to be shared by Another SQL Server Instance-2.....with a Database-2 Can anyone help me how to do the sharing of the 3 tables between 2 SQL Server instance or Servers
Create a linked server on second server instance points to first server database then create views on second server database pointing to first server database tables with same names. or if you want to copy the data across several options T-SQL scripts / SSIS Packages /replications.
[quote user="RamJaddu"] Create a linked server on second server instance points to first server database then create views on second server database pointing to first server database tables with same names. or if you want to copy the data across several options T-SQL scripts / SSIS Packages /replications. [/quote] First part sound good to me. The question is (to Rohaand): do you want read and/or write on second server?
Yes you can use LINKED SErver and OPENQUERY to update and insert data on destination tables - http://msdn.microsoft.com/en-us/library/ms188427.aspx fyi