Date post: | 12-Jul-2016 |
Category: |
Documents |
Upload: | tido-thobeka-mzilikazi |
View: | 224 times |
Download: | 1 times |
1
SQL Server Import/Export Wizard
Figure 1: Import/Export Step 1 – Start the wizard
2
Figure 2: Import/Export Step 2 – Choose a data source
3
Figure 3: Import/Export Step 3 - Choose a destination
4
Figure 4: Import/Export Step 4 - Select source tables and views
5
Figure 5: Import/Export Step 5 - Edit Mappings
6
Figure 6: Import/Export Step 6 - Save and/or run package
7
SSIS packages A package is an organized collection of connections, control flow elements, data flow elements, event
handlers, variables, parameters, and configurations, that you assemble using either the graphical
design tools that SQL Server Integration Services provides, or build programmatically. You then save
the completed package to SQL Server, the SSIS Package Store, or the file system.
SSIS is primarily an ETL and batch data processing tool. SSIS can easily read multiple files from a
network drive and provides the tools to transform data, either before or after loading it into a
database.
SSIS packages that are stored on the server are listed under Integration Services (you must have
administrator rights to log into Integration Services). You can also save the SSIS package to the file
system – it is saved as a dtsx file.
In order to edit the SSIS package, you must export the package from the server (unless you already
have it saved on the file system). The dtsx file can then be edited, saved and redeployed.
Screenshots of SSIS configuration
Figure 7: Example of editing an SSIS package (exported as a dtsx file)
8
Figure 8: Editing an SSIS package - Control Flow
Figure 9: SSIS Data Transform Task SQL to Excel File
9
Figure 10: Advanced Editor for Flat File Source
Figure 11: Mapping Fields
10
Example
Figure 12: Three linked tasks
Figure 13: The finished Data Flow task
11
Figure 14: Renaming the columns
Figure 15: Converting fields to appropriate data types
12
Figure 16: Mapping data into staging table fields