Describe how to use Linked Server - Sql server

Describe how to use Linked Server.

MS SQL Server supports the connection to different OLE DB on an ad hoc basis. This persistent connection is referred as Linked Server.

The following are the steps to use Linked Server for any OLE DB. I refer this to use an MS-Excel workbook.

1. Open SQL Server Management Studio in SQL Server 2005
2. Expand Server Objects in Object Explorer.
3. Right-click on Linked Servers. Click on New Linked Server.
4. Select General page in the left pane and
     i. Type any name for the linked server in the first text box
     ii. Select the Other Data Source option.
     iii. Click on Microsoft Jet 4.0 OLE DB Provider from the Provider list.
     iv. Type the Excel as the name of the OLE DB data source.
     v. Type the full path and file name of the Excel file in Data Source box.
     vi. Type the Excel version no. (7.0, 8.0 etc) in the Provider String. Use Excel 8.0 for Excel 2000, Excel 2002 or Excel 97.
     vii. To create a linked server click on OK.
Explain how to send email from database - Sql server
Send email from database - SQL Server has a feature for sending mail. Stored procedures can also be used for sending mail on demand. With SQL Server 2005, MAPI client is not needed for sending mails.......
How to make remote connection in database - Sql server
How to make remote connection in database - The following is the process to make a remote connection in database: Use SQL Server Surface Area Configuration Tool for enabling the remote connection in database........
Difference between cross join and Full outer join - Sql server
Cross join and Full outer join - Cross Join : No join conditions are specified. Full Outer Join: A combination of both left and right outer joins.........
Post your comment