Three Ways to Import from Excel to SQL Server



Similar documents
Implementing a Data Warehouse with Microsoft SQL Server 2012 MOC 10777

Course Outline. Module 1: Introduction to Data Warehousing

Implementing a Data Warehouse with Microsoft SQL Server 2012

SQL Server 2012 Business Intelligence Boot Camp

Course 40009A: Updating your Business Intelligence Skills to Microsoft SQL Server 2012

MS 10977B Upgrading Your SQL Server Skills to Microsoft SQL Server 2014

Course 10777A: Implementing a Data Warehouse with Microsoft SQL Server 2012

Course Outline: Course: Implementing a Data Warehouse with Microsoft SQL Server 2012 Learning Method: Instructor-led Classroom Learning

Course 10977A: Updating Your SQL Server Skills to Microsoft SQL Server 2014

Implementing a Data Warehouse with Microsoft SQL Server MOC 20463

COURSE OUTLINE MOC 20463: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

Implementing a Data Warehouse with Microsoft SQL Server 2012

Updating Your SQL Server Skills from Microsoft SQL Server 2008 to Microsoft SQL Server 2014

Financial Reporting Budgeting Consolidations Financial Modeling

Upgrading Your SQL Server Skills to Microsoft SQL Server 2014 va

Implementing a Data Warehouse with Microsoft SQL Server 2012

Implementing a Data Warehouse with Microsoft SQL Server

Implementing and Maintaining Microsoft SQL Server 2008 Integration Services

Beta: Implementing a Data Warehouse with Microsoft SQL Server 2012

COURSE 20463C: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

Updating Your SQL Server Skills to Microsoft SQL Server 2014

Implementing a Data Warehouse with Microsoft SQL Server

Updating Your SQL Server Skills to Microsoft SQL Server 2014 (10977) H8B96S

Business Benefits From Microsoft SQL Server Business Intelligence Solutions How Can Business Intelligence Help You? PTR Associates Limited

Updating Your SQL Server Skills to Microsoft SQL Server 2014

SMB Intelligence. Reporting

Course: SAS BI(business intelligence) and DI(Data integration)training - Training Duration: 30 + Days. Take Away:

Implementing a Data Warehouse with Microsoft SQL Server 2012 (70-463)

Microsoft. Course 20463C: Implementing a Data Warehouse with Microsoft SQL Server

Implementing a Data Warehouse with Microsoft SQL Server

Implement a Data Warehouse with Microsoft SQL Server 20463C; 5 days

10977B: Updating Your SQL Server Skills to Microsoft SQL Server 2014

COURSE SYLLABUS COURSE TITLE:

Course 10977: Updating Your SQL Server Skills to Microsoft SQL Server 2014

For Sales Kathy Hall

Implementing Data Models and Reports with Microsoft SQL Server

East Asia Network Sdn Bhd

Business Intelligence for Dynamics GP. Presented By: Rob Jackson, Business Intelligence Consultant Brent Keilin, GP Consultant

Implementing Data Models and Reports with Microsoft SQL Server 2012 MOC 10778

Implementing a Data Warehouse with Microsoft SQL Server 2012

SharePoint 2013 PerformancePoint Services

SharePoint 2013 PerformancePoint Services Course 55057; 3 Days

Upgrading Your SQL Server Skills to Microsoft SQL Server 2014

Course: SharePoint 2013 Business Intelligence

CRGroup Whitepaper: Digging through the Data. Reporting Options in Microsoft Dynamics GP

SharePoint 2013 Business Intelligence

SBI2013: Building BI Solutions using Excel and SharePoint 2013

SAP EPM Add-in for Microsoft Office

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Microsoft SQL Business Intelligence Boot Camp

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

Using Microsoft Business Intelligence Dashboards and Reports in the Federal Government

Enterprise and Standard Feature Compare

SharePoint 2013 Business Intelligence Course 55042; 3 Days

(55042A) SharePoint 2013 Business Intelligence

Microsoft Project 2010 builds on the Microsoft Project 2007 foundation with flexible work management solutions and the right collaboration tools for

Implementing a Data Warehouse with Microsoft SQL Server

MS 50511A The Microsoft Business Intelligence 2010 Stack

The focus of this course is on the SharePoint 2013 business intelligence platform and not on the SQL business intelligence services.

How to Use PIPS Access to/from SQL Database Utility Program. By PIPSUS Support Team Dr. Chouikha

DATA VALIDATION AND CLEANSING

End to End Microsoft BI with SQL 2008 R2 and SharePoint 2010

Dashboard Overview. Bernd Schneider. Technical Solution Professional BI Microsoft Switzerland

What s New. Microsoft Corp. All rights reserved

SQL Server Administrator Introduction - 3 Days Objectives

Sage 500 ERP (7.4) Business Intelligence

Using SAS Enterprise Business Intelligence to Automate a Manual Process: A Case Study Erik S. Larsen, Independent Consultant, Charleston, SC

SAP BO 4.1 COURSE CONTENT

Implementing a SQL Data Warehouse 2016

Course Title: Reporting in Microsoft Dynamics CRM 2011

55042: SharePoint 2013 Business Intelligence

Alchemex Report Designer

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

Google AdWords, 248 Google Analytics tools, 248 GoogleAdsExtract.xlsx file, 161 GoogleAnalytics, 161

Report Builder. Microsoft SQL Server is great for storing departmental or company data. It is. A Quick Guide to. In association with

<Insert Picture Here> Extending Hyperion BI with the Oracle BI Server

MS 20467: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

Together we can build something great

Microsoft End to End Business Intelligence Boot Camp

SQL Server An Overview

The Microsoft Business Intelligence 2010 Stack Course 50511A; 5 Days, Instructor-led

MOC Visualizing Data with SharePoint 2013, Report Builder, PowerPivot & PowerView with NO CODE

Whitepaper: Solution Overview - Breakthrough Insight. Published: March 7, Applies to: Microsoft SQL Server Summary:

Implementing Data Models and Reports with Microsoft SQL Server 20466C; 5 Days

Working with SQL Server Integration Services

P6 Professional Report Writer

Economic Data Management at the IMF

Course MS55003A Microsoft SharePoint 2010 Business Intelligence Services

Visualization with Excel Tools and Microsoft Azure

Moving Data Between Access and Excel

QlikView 11 Feature Sheet Source Control Integration

Reporting Fundamentals for Programmers

Microsoft SharePoint 2013 Business Intelligence

Implementing a Data Warehouse with Microsoft SQL Server 2014

Transcription:

Metric-X Publication Volume 1, Issue 4 www.metricx.com Three Ways to Import from Excel to SQL Server Outline Some Options for One-Way Import (from Excel to SQL Server): SQL Server Management Studio Import and Export Wizard SQL Server Integration Services XLhub Factors to Consider: Structure of the data in Excel (tabular vs non-tabular) Recurrence of import Programming skills of user Two-Way Connections (Import + Export): XLhub enables two-way exchange of data between Excel and SQL Server Three Options In this report, we discuss these three options for importing data from Microsoft Excel to a SQL Server database: 1. SQL Server Management Studio 2. SQL Server Integration Services (SSIS) 3. XLhub Excel Add-In The right option depends upon one s situation. The factors to consider are: 1. Is the data in the spreadsheet organized as a table? 2. Will the export be performed by a DBA or programmer? 3. Is the export going to be performed on a recurring basis? An additional consideration may be whether there is a need to import data back from SQL Server into Excel. Page 1 of 7

Decision Flowchart Below is a decision flowchart for identifying the appropriate option for importing data from Excel to SQL Server. Frequency of importing and the technical capabilities of the users are important drivers Is the data in Excel organized as a table (rows and columns)? No Does the import need to happen on recurring basis? No Does the user have SQL or Programming Skils? No Does the user have SQL or Programming Skils? or or Page 2 of 7

Option Descriptions This section discusses each of the three options in some detail. SQL Server Import and Export Wizard SQL Server Management Studio is the console for managing a SQL Server installation. It is rich with functionality for managing databases and performing actions on the data contained in the databases. Management Studio contains a utility for importing and exporting data from various sources. This utility, called SQL Server Import and Export Wizard is meant for the nonprogrammer. Data in the SQL Server is stored in database tables. Each tool requires that a mapping be performed between the Excel dataset and the SQL Server database tables The wizard is initiated as a task for a database within Management Studio. The wizard walks the user through a series of dialogs, ultimately requiring the mapping between the Excel file and the target database table. The data in the Excel file must begin in the top row of the sheet or be in a named range or table. Page 3 of 7

The column mapping dialog shows the columns in the Excel file (source) and corresponding columns that will be created in the SQL Server table (destination). The wizard essentially enables the formation of a SQL statement that is executed to create the desired table and columns. Page 4 of 7

SQL Server Integration Services SQL Server Integration Services provides the maximum amount of flexibility but also requires a programmer to set up the export process. If the data in the Excel file is not organized in a tabular form (simple rows and columns) then SSIS may be the only choice. SSIS enables the creation of recurring process for reading an Excel file (or a CSV), parsing the data, and loading the data into appropriate columns of a table in a SQL Server database. Additional logic for data cleansing can also be included in the import process. The entire flow for reading, parsing, transforming and loading the data can be defined as a flowchart and then executed. The programming logic is defined within Microsoft Visual Studio. Once the program (referred to as a package ) has been created and tested, it can be deployed for execution. Page 5 of 7

Creating data import jobs within SSIS requires a substantial amount of training, and a good knowledge of SQL is usually mandatory. Once a SSIS package has been created, it can be scheduled to run automatically. XLhub XLhub is a Microsoft Excel add-in that enables a user to import and export data between Excel and SQL Server. It is designed to be used by non-programmers. The XLhub functionality is accessible from within Excel via its own ribbon. Using a wizard-driven process, XLhub performs the following tasks: a) Analyzes the data in the Excel file to determine the column names and data types b) Creates a table within SQL Server that corresponds to the table in Excel c) Pushes data from the Excel file into the SQL Server table Each time data is saved, it is appended to the same table. This way previous versions of the data are preserved d) Reads data from the SQL Server into Excel, and provides the user to select which previously saved version to retrieve into Excel Two-way connections between Excel and SQL Server open up a world of possibilities for creating collaborative departmental applications Two-Way Connections A two-way connection between Excel and SQL Server enables saving data from Excel to SQL Server and also retrieving data from SQL Server into Excel. With this capability, applications can be rapidly developed which utilize an Excel front-end and a SQL Server back-end. Page 6 of 7

Multiple users can save data from their Excel spreadsheets to the same database table. This way, consolidations are simple, and data can be protected using security policies within SQL Server. XLhub enables two-way connections. Multi-user applications that lend themselves well to this capability include: Budgeting Forecasting Financial Consolidations Timesheets More information on XLhub can be found at www.xlhub.com. About Metric-X: Metric-X is an information technology firm whose mission is to help companies manage and analyze their data. Metric-X specializes in developing Business Intelligence solutions based on the Microsoft toolset, including SQL Server, Visual Studio and Microsoft Office. Within BI, Metric-X focuses its capabilities on the last mile of BI, with solutions aimed at the widespread use of Microsoft Excel among BI users. Metric-X was founded in 2000, and is located in Perrysburg, Ohio. Metric-X, LLC 28304 Cedar Park Boulevard, Suite D Perrysburg, Ohio, 43551 U.S.A. (248)495-4925 www.metricx.com metric-x successful projects Page 7 of 7