Connection string for Linked Servers Database
I have created a "Link Server" in my SQL server 2012. Now I want to get data from a table which is under a "Link Server". So for that, what will be the connection string to connect with a database under "Link Server"? In the console application I have tried this. <add key="smartdb" value="Data Source=192.168.1.141; Initial Catalog=mydb;User Id=sa;Password=sa123" /> But it's not working. I don't know where to set the database name, which is under "Linked server".
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.