Wednesday, September 15, 2010

Import and Export Wizard in SSIS


Wizards for SSIS:


One of the most popular features of Integration Services is the Import/Export Wizard, which makes it very easy to move data from a source location such as a flat file or database table to a flat file, table, or other destination.

Import/Export Wizard

Import/Export Wizard, It allowed DBAs, developers, and users to move data from a source of any type to a target of any type, very quickly, with no code and very little hassle. It is a simple wizard to handle some of the most common Data ware housing tasks. importing data to or exporting data from a SQL Server database. It also provided a starting point for learning how to build SSIS packages.

• Improved flat-file control for both source and destination.

• Real-time preview of data.

• Optimization of processing when a large number of tables and views is desired.

• Creation of a new database directly from the wizard.

You can move data between any of these data sources by using SSIS:

1. From OLEDB source.

2. Excel source

3. Flat files

4. Microsoft access source

5. SQL server

The steps to import data using SQL Server Import and Export Wizard

  • · Launch SQL Server Management Studio and log in to your local server.
  • · Open a new file (Query window).
  • · Select the master database from the Available Databases.
  • · Right click on the master database, Go to tasks and select import data
















































































  • Read the first page of the Import and Export Wizard and click Next.
  • Select SQL Native Client for the data source and provide login information for your test server.
  • Select the Sample database as the source of the data to import.
  • Either you can choose a query option(Note that if you only want to import part of a table you can use a query as the data source) to transfer the data or you can choose from a option Copy data from one or more tables or views.
  • Select Copy Data From One or More Tables or Views and click Next.























































  • As you select tables, the wizard will automatically assign names for the target tables.
  • From Edit option in the Mapping column, we can map the table.
  • The Column Mappings dialog box lets you change the name, data type, and other properties of the destination table columns. You can also set other options here, such as whether to overwrite or append data when importing data to an existing table.
  • Check Execute Immediately and click Next.
  • · Click Finish to perform the import. SQL Server will display progress as it performs the import.
























Conclusion: the Import/Export wizard can make doing simple transfer of selected tables and columns very easy in comparison to manually executing placing the tasks. This can be helpful in completing simple tasks or a good starting point in designing a more complicated solution with some of the SSIS framework already completed.















No comments:

Post a Comment