Sometimes we would like to create distributed query across different server and database, this circumstance was called "Linked Server" Make sure you have two different server or two different Database Instance, Iam here have SQLSERVER EXPRESS 2005 and SQL SERVER 2005 STANDARD EDITION, the point that you should keep in mind is 'Linked Server was dedicated for distributed query on different Database Instance' whether that is SQLSERVER or other datasource like DB2, ACCESS or EXCEL, on this occasion I'am going to take SQL SERVER as example. In sql server we can easily make linked server by doing these following steps.
- You have two instance or more
- Fill the parameter according to this screen cast. Here detail explanation of the above
- Linked Server : Type the linked server that you like to define.
- Server Type : specify the server type as Other Data source
- Provider Name : Microsoft OLE DB Provider fro SQL Server
- Product Name: This was optional, you can fill by empty string
Datasource : This parameter consist of your Server Name and Instance Name, Iam here using ".\SQLEXPRESS" - Provider String: just let it be like that
- Catalog : Reflect the database that you would like to access.

0 comments:
Post a Comment