MS SQL Server
  Home arrow MS SQL Server arrow Page 5 - Using Data Transformation Services, part 4...
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 4: Using the DTS Designer Objects (continued-2)
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 16
    2005-06-06

    Table of Contents:
  • Using Data Transformation Services, part 4: Using the DTS Designer Objects (continued-2)
  • Scenario of Data Transfer
  • Data Transfer Source
  • Data Transfer Destination
  • The Transform Data Task
  • Using the Transform Task
  • Column Transformation Code: Step 1
  • Column Transformation Code: Step 2
  • Column Transformation Code: Step 3
  • Executing the Package

  • 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 4: Using the DTS Designer Objects (continued-2) - The Transform Data Task


    (Page 5 of 10 )

    From the Task Collection click on the Data Transform Task and place it on the Text file first and then place it on the MS Access icon next. A connecting link will be developed. The second tutorial illustrates this. The design pane now has the source and the destination with the connecting, data transform task as shown in this picture.

    Place the cursor on the vertical connecting line and the cursor changes to a double headed East<->West cursor type. Now right click this Data Transform task to reveal its properties window as shown in this picture.

    The window opens with the default tab, Source, namely, the text file in this case.

    A meaningful description may be typed in. In this tutorial the default is accepted. The Table/View is the only option for this connection. It is possible to have a preview of this source by clicking the Preview... button. If you click OK to this you will be faced with a Package error since all information for the transform has not been specified at this point.

    Click on the next tab, Destination. This brings up this next, Create Table window. It already has the name of the text file name as default table name. Although changes can be made to the table properties, defaults are accepted by clicking OK since our focus is on transformation of columns. The destination information now appears as shown in this picture.

    Now we come to the next tab, the Transformations tab. Click on the Transformations tab, and this brings up this screen. This is where transformations are to be defined. When it pops up for the first time, column to column mapping lines are in place although no transformation in particular is selected as shown in this picture. For five columns five transformations are in place.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


     

    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 4 hosted by Hostway
    Stay green...Green IT