Beginners Guide to SQL Server Integration Services Using Visual Studio 2005

An ideal book and eBook for trainers who want to teach an introductory course in SQL Server Integration Services or, to those who want to study and learn SSIS in a little over two weeks.

Beginners Guide to SQL Server Integration Services Using Visual Studio 2005

Beginner's Guide
Jayaram Krishnaswamy

An ideal book and eBook for trainers who want to teach an introductory course in SQL Server Integration Services or, to those who want to study and learn SSIS in a little over two weeks.
$10.00
$20.00
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
Code Files
+ Collection
Free sample

Book Details

ISBN 139781847193315
Paperback320 pages

About This Book

 

  • Environment set up for Visual Studio 2005 with respect to SSIS and multiple tasking
  • Connect to Microsoft Access, Text Files, Excel Spread Sheets
  • Transform data from a source going to a destination
  • Use the scripting support that the IDE provides and event handling
  • Learn about tasks such as web service and XML, which are new in SQL Server 2005
  • Read: Chapter 13 [PDF 2.9 MB] | Table of Contents
  • Available as an eBook to download immediately

 

Who This Book Is For

This book is written for beginners in the developer track who are looking to get an exposure to SQL Server Integration Services; DBA's who are testing water with the Visual Studio IDE but without a wide programming experience; SQL 2000 Data Transformation Services users who are trying to move into SQL Server 2005 Integration Services; Microsoft programming professionals in Small Businesses who wear multiple hats (jack of all) - developer, programmer, and dba with a little bit of experience in each of these.

It is expected that you know how to manipulate window objects, like clicking; dragging and dropping; using contextual help, tabbing, etc. It is also expected that you are exposed to SQL Server database basics and that you understand connecting to a database server; querying the database; reviewing objects; displaying and reviewing properties of objects, etc.  Very little coding skill is assumed except that you can logically follow a fully commented code.

This book is ideal for trainers who may want to teach an introductory course in SQL Server Integration Services or, to those who want to study and learn SSIS in a little over two weeks.

Table of Contents

Chapter 1: SSIS Basics
SQL Server Integration Services
Objects Used in SSIS
Summary
Chapter 2: Creating a BI Project for SSIS in Visual Studio 2005
Business Intelligence using Microsoft Products
Resources Used for Creating Projects
Creating Your First BI Project for SSIS
Hands-On Exercises
Summary
Chapter 3: Sending Email with a SSIS Package
Hands-On Exercise One: Sending an Email Using the SMTP Server
Hands-On Exercise Two: How to Find Your ISP's SMTP Server?
Summary
Chapter 4: Transferring Data to a Text File
Hands-On Exercise: Transferring Data to a Text File
Summary
Chapter 5: Transferring Data to a Microsoft Excel File
Hands-On Exercise: Transferring Data to an Excel File
Summary
Chapter 6: Data Transfer to an MS Access Database
Hands-On Exercise: Transferring Data to an Access Database
Summary
Chapter 7: Data Transfer from a Text File Using the Bulk Insert Task
Hands-On Exercise: Transferring Data from a Flat File to a SQL Server Database Table
Summary
Chapter 8: Using a Conditional Split Data Transformation
Hands-On Exercise: Splitting Data Retrieved from a SQL Server
Summary
Chapter 9: Using an Aggregate Data Transformation
Hands-On Exercise: Using Aggregate Data Flow Transformation
Summary
Chapter 10: Using a Data Conversion Data Flow Transformation
Hands-On Exercise: Transferring Data to an Excel File
Summary
Chapter 11: Creating a SSIS Package with an XML Task
Diff
Merge
Validate
XPATH
XSLT
XML Documents Used in This Chapter
Hands-On Exercise 1: XMLTask type Diff
Hands-On Exercise 2: XMLTask Type XSLT
Summary
Chapter 12: Creating a SSIS Package to Access Folders and Files
Hands-On Exercise: Copying a File from One Folder to Another and Sending it using the Send Mail Task
Using Precedence Constraint to Send Mail
Summary
Chapter 13: Package to Copy a Table from Oracle XE
Hands-On Exercise: Transferring a View from Oracle 10G XE to an SQL Server 2005 Database
Summary
Chapter 14: Web Service Task to Convert Miles to Kilometres
Hands-On Exercise: Creating and Testing a Package that Uses a Web Service Task
Summary
Chapter 15: Package that Transfers a Database from One SQL Server to Another
Hands-On Exercise: Creating and Testing a Package that Uses a Transfer Database Task
Summary
Chapter 16: On Using Event Handlers in SSIS
Hands-On Exercise: Creating a Project with Two Packages
Summary
Chapter 17: Package that Transfers a File Using an FTP Task
Hands-On Exercise: Creating a Package with a FTP Task
Summary
Chapter 18: Package with an ActiveX Script Task
Hands-On Exercise: Creating a Package with ActiveX Script Tasks
Example Three: Navigating to the Internet Explorer Browser
Summary
Chapter 19: Package with a Script Task
Overview of the Hands-On Exercises
Hands-On Exercise: Creating a Package with Script Tasks
Summary
Chapter 20: Package with Maintenance Plan Tasks
Summary

What You Will Learn

After reading this book you will be able to:

  • Understand the Visual Studio 2005’s IDE as related to SSIS
  • Work with single and multiple tasks; working with more than 20 different tasks.
  • Connect to Microsoft Access, Flat Files, Excel Spread Sheets and third party vendor product
  • Link data source and data destination to a task
  • Send emails and ftp files
  • Transform data from a source going to a destination
  • Use the scripting support that the IDE provides
  • Monitor the data as it is being transported also new in SQL 2005 Server
  • Learn tasks such as web service and XML, which are new in SQL Server 2005
  • Understand how to use and handle events

Chapter-by-Chapter

In Chapter 1, you will learn the various roles played by SSIS in the enterprise business. You will also learn about the various objects used in SSIS, most importantly the Package object; the Control Flow Elements; the Data Flow Components; the Event Handlers and other miscellaneous features of the VS 2005 IDE.

In Chapter 2, you will learn how to create your first business intelligence project for SSIS using the Visual Studio 2005 IDE. You will be introduced to the many windows that are used by SSIS specifically and a few other windows of the VS 2005 IDE used for projects and solutions. The hands-on at the end of the chapter helps you to examine on your own the key features of the IDE as well as how you may retrieve a VS 2005 created package using the SQL Server 2005 Management Studio.

In Chapter 3 you will learn how to send a mail by creating the Send Mail Task using the SMTP server that you can access. If you are not sure about your SMTP Server you may find that Hands-on Exercise 2 give you a better understanding of how to access the SMTP server.

In Chapter 4 you will learn how to create a SSIS package that transfers a table on your SQL Server 2005 to a flat file on your C: drive. You will also learn how to work with the Connection Managers that is so essential for data transformation tasks,

In Chapter 5 you will learn how to create a SSIS package that transfers a table on your SQL Server 2005 database to an Excel spread sheet. You will also learn how to connect to an Excel data destination.

In Chapter 6 you will create a package that transfers data from a table on your SQL Server 2005 to an MS Access Database. You will learn how to work with the Data Viewer that monitors the data flow.
 
In Chapter 7 you will create a package that uses the Bulk Insert Task to transfer data in a text file on your computer to a table in the SQL Server 2005. You will also learn about creating a table on your SQL Server 2005 using the Management Console.

In Chapter 8 you will create a package that conditionally splits the data from a SQL Server 2005 query and send them to multiple destinations. You will also learn to work with Recordset Destination, an in-memory ADO Recordset Object and use it to display the results of data splitting. Additionally you will learn about using Variables in an SSIS Package.

In Chapter 9 you will create a package that can aggregate data from a database using the Aggregate data Transformation. You will extract data from a SQL Server 2005 and load it in to a Recordset Object to review the aggregated results.

In Chapter 10 you will create a package that converts the data extracted from an Excel spread sheet source before loading it into a MS Access Database. You will also learn how to direct the data that is not accepted by the destination to another destination using the errors in data transformation.

In Chapter 11 you will create a package that shows you how to work with the XML Task. You will learn how to find differences between two XML files as well as applying XSLT (Transformation) to convert an XML file to an HTML file.

In Chapter 12 you will learn how to work with the various options of a File System Object and how to use a precedence constraint that orders the tasks before executing the Package. You will learn how to copy a file from one location on your computer to another.

In Chapter 13 you will learn how to copy a table on an Oracle 10G XE database to a database on the SQL Server 2005. You will also learn how to install an Oracle 10G XE server and work with its database objects.

In Chapter 14 you will create a package that returns the value returned by accessing a web service task. You will also learn how to create a web service task in Visual studio 2005.

In Chapter 15 you will create a package that uses a Transfer Database task from one SQL Serer to another SQL Server (a different version). You will also learn how to access a SQL Server database on a network node.

In Chapter 16 you will create a package that uses event handlers and you will be learning about OnError and on OnPostExecute events. You will also learn about the ExecuteSQL Task as well as the Execute Process Task.

In Chapter 17 you will create a package for transferring files using the File Transfer task. You will learn to work with both a local FTP site as well as remote FTP site.

In Chapter 18 you will create a package using the ActiveX Script Task. You will have access to a fully commented code to help you along. You will be using this task to work with a word document; SQL Server Management Objects; and an internet browser object.

In Chapter 19 you will learn about the Script Task by creating packages that you use to interact with your file system as well your SQL Server 2005 for a variety tasks such as from making a simple calculation to retrieving data sets and loading into text files.

In Chapter 20 you will create a package that uses a Management Plan Task to backup a database on your SQL Server 2005. You will also get a general understanding of the Management Plan tasks.

In Detail

Sql Server Integration Services (SSIS) is a comprehensive ETL tool that made its debut with SQL Server 2005. It is a tool tightly integrated with the Visual Studio 2005 having all the functionalities that its forerunner DTS (Data Transformation Services) had in SQL Server 2000. This does not mean that it is just an improvement over DTS but a product which is totally different with a vastly improved interface; an extensible architecture; an enlarged tool set; ease of integration with other SQL Server Tools such as Analysis Services; capable of supporting connectivity with third party databases and bringing into a central location many database management tasks.

The Beginners Guide to SQL Server Integration Services Using Visual Studio 2005 provides you with the basic knowledge that you should have before you move on to more advanced ETL [Extraction, Transformation, and Loading]. The book will also provide you with a comprehensive description of the many designer windows that you may encounter while working with the designer.

This guide provides you with the blocks to build a complete package. It describes each block using examples as well as detailing the nuts and bolts that hold the blocks in place. The majority of SSIS tasks are covered in this book, which are described in full in the summary of Table of Contents. You will start building packages right from Chapter 2 and continue on to Chapter 20 gathering and building upon your knowledge in each step.

 

 

Authors

Table of Contents

Chapter 1: SSIS Basics
SQL Server Integration Services
Objects Used in SSIS
Summary
Chapter 2: Creating a BI Project for SSIS in Visual Studio 2005
Business Intelligence using Microsoft Products
Resources Used for Creating Projects
Creating Your First BI Project for SSIS
Hands-On Exercises
Summary
Chapter 3: Sending Email with a SSIS Package
Hands-On Exercise One: Sending an Email Using the SMTP Server
Hands-On Exercise Two: How to Find Your ISP's SMTP Server?
Summary
Chapter 4: Transferring Data to a Text File
Hands-On Exercise: Transferring Data to a Text File
Summary
Chapter 5: Transferring Data to a Microsoft Excel File
Hands-On Exercise: Transferring Data to an Excel File
Summary
Chapter 6: Data Transfer to an MS Access Database
Hands-On Exercise: Transferring Data to an Access Database
Summary
Chapter 7: Data Transfer from a Text File Using the Bulk Insert Task
Hands-On Exercise: Transferring Data from a Flat File to a SQL Server Database Table
Summary
Chapter 8: Using a Conditional Split Data Transformation
Hands-On Exercise: Splitting Data Retrieved from a SQL Server
Summary
Chapter 9: Using an Aggregate Data Transformation
Hands-On Exercise: Using Aggregate Data Flow Transformation
Summary
Chapter 10: Using a Data Conversion Data Flow Transformation
Hands-On Exercise: Transferring Data to an Excel File
Summary
Chapter 11: Creating a SSIS Package with an XML Task
Diff
Merge
Validate
XPATH
XSLT
XML Documents Used in This Chapter
Hands-On Exercise 1: XMLTask type Diff
Hands-On Exercise 2: XMLTask Type XSLT
Summary
Chapter 12: Creating a SSIS Package to Access Folders and Files
Hands-On Exercise: Copying a File from One Folder to Another and Sending it using the Send Mail Task
Using Precedence Constraint to Send Mail
Summary
Chapter 13: Package to Copy a Table from Oracle XE
Hands-On Exercise: Transferring a View from Oracle 10G XE to an SQL Server 2005 Database
Summary
Chapter 14: Web Service Task to Convert Miles to Kilometres
Hands-On Exercise: Creating and Testing a Package that Uses a Web Service Task
Summary
Chapter 15: Package that Transfers a Database from One SQL Server to Another
Hands-On Exercise: Creating and Testing a Package that Uses a Transfer Database Task
Summary
Chapter 16: On Using Event Handlers in SSIS
Hands-On Exercise: Creating a Project with Two Packages
Summary
Chapter 17: Package that Transfers a File Using an FTP Task
Hands-On Exercise: Creating a Package with a FTP Task
Summary
Chapter 18: Package with an ActiveX Script Task
Hands-On Exercise: Creating a Package with ActiveX Script Tasks
Example Three: Navigating to the Internet Explorer Browser
Summary
Chapter 19: Package with a Script Task
Overview of the Hands-On Exercises
Hands-On Exercise: Creating a Package with Script Tasks
Summary
Chapter 20: Package with Maintenance Plan Tasks
Summary

Book Details

ISBN 139781847193315
Paperback320 pages
Read More