How Linked server is used to excess external data

Describe how Linked server is used to excess external data.

A linked server can be considered as another SQL server database running elsewhere. It can be a OLEDB or ODBC data source. They help in addressing distributed queries.

OPENQUERY function is used for such purposes. This function I is used to execute the specified query on the linked sever. OPENQUERY can be referenced in from the FROM clause just like a table name.

Example:
SELECT * FROM OPENQUERY(OracleSvr, 'SELECT name, id FROM joe.titles')
Describe how OPENQUERY function is used to excess external data
OPENQUERY is used to execute the specified query on the linked sever. OPENQUERY can be referenced in from the FROM clause just like a table name.........
How OPENROWSET and OPENDATASOURCE function is used to access external data
OPENROWSET: Includes all connection information that is required to access remote data from an OLE DB data source.......
What is “Index Tuning Wizard”?
Index Tuning Wizard is a software application that identifies tables which have inefficient indexes.......
Post your comment