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
FAQ: Troubleshooting SQL Server Reporting Services
What's new in SQL Server 2008 Reporting Services?
SQL Server 2008 Integration Services delivers new features
Tips for tuning SQL Server 2005 to improve reporting performance
Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
Troubleshoot Web service issues in SQL Server 2005 Reporting Services
Ordering the results of a SQL query
SSIS error message due to installation problem on SQL Server 2005
Configuring SQL Server with a changed computer name
Using MDX and UDM in a SQL Server Analysis Services environment

Roman Rehak - SQL Server Development and Reporting Services
Tips for tuning SQL Server 2005 to improve reporting performance
Manipulate column names in a SQL Server table
Licensing a standby server for SQL Server replication
SQL Server trigger vs. stored procedure to receive data notification
Storing and searching for image files in SQL Server
Can I encrypt and restore a database backup in SQL Server 2005?
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

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



SQL Solutions - SQL Database Design
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