I would like to know what is the best way for use linkserver.
I have a database in SQL Server called Sales
and another database called Menus
. Both are on the same instance of JOSEPH-PC
.
My question: is it necessary to use linked server for it?
Or can I simply write a query like this:
select *
from Sales.dbo.table1 a
inner join Menus.dbo.accces b on a.code = b.code
How could I store data in 2 tables from different databases for example a master-detail from my app in C#?
Please let me know how I can make this.