MS SQL Server
  Home arrow MS SQL Server arrow Page 4 - Using Data Transformation Services - Part ...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Using Data Transformation Services - Part 1
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 37
    2005-05-04

    Table of Contents:
  • Using Data Transformation Services - Part 1
  • Import Export Wizard
  • The DTS Designer
  • Package creation details
  • Executing the package/step

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Data Transformation Services - Part 1 - Package creation details


    (Page 4 of 5 )

    Since a database object is being copied, the Copy SQL Server objects task is the appropriate task to be completed. Drag the Copy SQL Server Objects task from the left panel to the right. This opens up the wizard with three tabs: Source, Destination and Copy. The Source tab requires a description of the task, the server on which the source data is stored, and its authentication information. When all this information is keyed in, the window appears as shown in this picture:

    When you click on OK to this window, you will be asked to provide information for the destination Server, where this copied data is to be stored. If a named object already exists, you can access it from the dropdown menu after specifying the database (in this example XPHTEK/Test), or choosing to create a new database.

    Since the new database requires a name, you need to create a name. Since the database needs the creation of the data and log files, the needed file sizes can be configured. If the defaults are accepted, as in this case, each of them will be 2MB. Clicking on the Help button will open the context sensitive help item of creating a database from the SQL Server book on line. The name of the database chosen is [CopiedTest]. When you click on OK, the DTS has all the information (source and destination) for creating the database.

    In the next tab, Copy, a number of parameters are configurable. Copying tables, data, stored procedures, referential integrity constraints, indexes, and so forth will be carried out. If Data already exists (in this example, new data is created and therefore is not relevant), it can copy over, or append. If you choose not to copy all objects, by deselecting the checkbox you will be able to select objects that you need to copy (it is assumed that all objects are copied in this simple example) and if you choose not to use default options, by unchecking this, you may be able to specify the options you want. The chosen configurations for this example are shown in the next picture. The creating database script will be stored in a file directory, the default being, "C:\Program Files\Microsoft SQL Server\80\Tools"

    When you click on OK in the final tabbed window, the package creation will be completed. You will be able to see the package, cpTestWiz_to_XPHTEK/Test, in what was an empty design panel to start with, as shown:

    Now this package can be saved and given a name [Jan2005_1] as shown here, by bringing up this window and clicking the menu item package, and using the SaveAs option.

    Now the newly created package appears in the list of Local packages as shown in the next picture:

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


       · Great article!One wonders if there is any way to transform data from a SQL Server...
       · If there is no SQL Server, then where is the SQL Server database? Is it perhaps in a...
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT