Home > Ask the SQL Server Experts > Roman Rehak - SQL Server Development and Reporting Services Questions & Answers > Can you import Excel data to SQL Server Reporting Services?
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Can you import Excel data to SQL Server Reporting Services?

Roman Rehak EXPERT RESPONSE FROM: Roman Rehak

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Expert advice on database administration
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 05 December 2007
Can you import Excel SS or anything besides Access.mdb into Reporting Services 2005?

>
EXPERT RESPONSE
Reporting Services does not import data. It only queries data in whatever format it is stored in their native storage system. In this question I will assume that you're asking whether you can create reports and use Excel spreadsheets as data sources. The answer is Yes, Reporting Services supports a wide variety of data sources, including Excel files. You'll get the best performance with the built-in native .NET providers but you should be able to connect to any ODBC or OLE-DB data source, whether it comes from Microsoft or a third-party company.

You can report against Excel data by using ODBC. First, create a new DSN in Windows Administrative Tools, select the Excel driver and point it to the Excel file you want to use. Then in your Reporting Services project create a new data source of the ODBC type, click on the Edit button next to the Connection String text box and select the DSN you had previously created. Once the data source is set up, you can create datasets in the query designer by running SQL statements against the Excel data. For example, let's say you have a file that contains a worksheet called Users. You can run the following query to retrieve your data:

SELECT * from [Users$]

Note: You need to append the dollar sign to the worksheet name.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
SQL Server data warehousing/business intelligence
Manage traces in SQL Server 2005 Analysis Services with XMLA commands
Tutorial: SQL Server 2005 Analysis Services
Top 10 SQL Server Integration Services (SSIS) and DTS tips
Open SSIS packages without validation using these SQL properties
How to process SQL Server 2005 Analysis Services for data availability
Export SQL Server data to an Excel file using SSIS and Visual Studio
Five steps to event handlers in SQL Server Integration Services (SSIS)
Workaround to Reporting Services error in SQL Server Express
Optimize SAN setup for improved SQL Server performance
Table partitioning with SQL Server 2005

Roman Rehak - SQL Server Development and Reporting Services
Using BULK INSERT to insert rows from SQL Server dataset to table
SQL Server query to import database names
Troubleshoot SQL Server 2005 SP2 installation error
Workaround to Reporting Services error in SQL Server Express
How can I export stored procedures in SQL Server 2005?
Code to restore SQL Server databases in VB.NET
Stored procedure for a BULK INSERT to SQL Server 2005 text file
BULK INSERT to import data from file to SQL Server database
INSTEAD OF trigger to update a SQL Server table
Retrieve images from SQL Server and store in VB.Net

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
data aggregation  (SearchSQLServer.com)
data preprocessing  (SearchSQLServer.com)
data warehouse  (SearchSQLServer.com)
FileMaker  (SearchSQLServer.com)
GIS  (SearchSQLServer.com)
MOLAP  (SearchSQLServer.com)
pivot table  (SearchSQLServer.com)
Quiz: SQL Server 2000  (SearchSQLServer.com)
SQL  (SearchSQLServer.com)
T-SQL  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts