Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum DBA Videos
internet.com

» Database Journal Home
» DBA Videos
» Database Articles
» Database Tutorials
MS SQL
Oracle
MS Access
MySQL
DB2
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed



follow us on Twitter

Marketplace Partners
Be a Marketplace Partner

internet.commerce
Be a Commerce Partner


















Mariposa Bot Shipped With Vodafone Smartphone

IT Job Market Heating Up: Report

Bing Makes Strides But Momentum Stalls

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Database Journal | DBA Support | SQLCourse | SQLCourse2







Systems Engineer Sr - Solaris - Linux (TX)
Next Step Systems
US-TX-Houston

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

October 3, 2003

Linked Servers on MS SQL: Part 1

By Don Schlichting

SQL to Excel

In our first example, we will link an Excel sheet to an MS SQL server. The Excel example is a one-sheet copy of the SQL Pubs table Authors.

Right-click to download the Excel Sheet

+ Open the SQL Enterprise Manager and navigate to Security/Linked Servers. Underneath, (No items) should be visible.

+ Right click the Linked Server icon and select New Linked Server.

+ Create a new linked server by entering any name in the Linked Server text box. Select "Other" as the data source, selecting the "Microsoft Jet 4" provider. The product is "Excel." The data source is the file path name. The Provider string is "Excel 8.0" for Excel versions 97, 2000, and 2002. Then click OK to finish.

Now in Enterprise Manager, under Linked Servers, the new "Excel_AUTHORS" server should appear with a table for each Excel Sheet.

To verify your connection, open SQL Query Analyzer and enter SELECT * FROM EXCEL_AUTHORS...Sheet1$. (3 dots between EXCEL_AUTHORS and Sheet1$) The author table should be returned.



Go to page: Prev  1  2  3  Next  

Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS SQL Archives








Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
Dropping database yogesphu 2 March 18th, 02:11 PM
shrinking a Database tkatende 1 March 18th, 12:19 PM
Inner and outer select mussab 3 March 17th, 11:05 AM
Help with Getting Started jozepeter 1 March 15th, 11:03 AM









The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers