What are the uses of linked server and explain it in detail?
Answer / Dharmendra Kumar Bharti
A linked server is a feature in SQL Server that allows you to access data from other databases or data sources as if they were local tables. This can be useful for integrating data from multiple sources, such as different databases or Excel files. Here's an overview of how it works:
1. Create the linked server: You define a linked server object that provides the connection information to the remote database.
2. Create a linked server login: You create a login for the remote server, which is used to authenticate the connection.
3. Create views or stored procedures on the local server: You create views or stored procedures that reference the linked server as a source of data.
4. Query the linked server: When you run your query, SQL Server sends the request to the linked server and retrieves the results.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is foreign key?
Explain the relationship among Database, Tablespace and Data file?
What is the difference between Outer join and Full outer join?
What is analyze command used for?
Hi Masters, in Oracle Applications 11i, we hace 2 functions using the same form, i need to create 1 personalization, but that code must afect only one function.... how can i do that?
If a table column has is UNIQUE and has NOT NULL, is it equivalent to a PRIMARY KEY column?
List out the difference between commit, rollback, and savepoint?
Her departmandaki isçilerden empno' su ikinci sirada olan isçilerin empno, deptno, hiredate, sira_no bigilerini döndüren sorguyu yaziniz?
What are the different editions of oracle?
Give the various rollback segment states.
what is cartesian product?
How to convert characters to numbers in oracle?