MS SQL Server
  Home arrow MS SQL Server arrow Page 4 - Using Data Transformation Services, part 6...
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 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
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 6: Intro to Text Transfer with Filtering
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 12
    2005-06-20

    Table of Contents:
  • Using Data Transformation Services, part 6: Intro to Text Transfer with Filtering
  • Creating the package
  • Creating a Transform Data Task and a Destination Text File Connection
  • Configuring the Transform Data Task
  • Verification Package Results

  • 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 6: Intro to Text Transfer with Filtering - Configuring the Transform Data Task


    (Page 4 of 5 )

    As described in the previous tutorials connect the SQL 2000 Server with the destination text file created in the previous step by a Transform data task as shown:

    Place the cursor on the arrow (Transform Data Task arrow) and when it changes to arrows pointing North-South (or East-West) right click to show the drop down menu. Click on the properties item. The Transform Data Properties window opens up with the Table/View as default as shown. Now choose to use a SQL query. This query can be fashioned in the editor as described in the earlier tutorials. Now create a query as shown here by entering the text, or using the GUI support in the editor. This query selects the three columns only if the column value is 20.

    Now the source for the transformation is the SQL Server connection and the destination is the TransText.txt file. Open the Transform Data Task window and rearrange the column mappings from table/column1 to TransText.txt file's column1 to the ones shown here. Here you can click on Parse query.. to test if it has the correct syntax, or Preview.. the data using View Data . This completes the design of the package. This can be saved using the Save button. It can be saved in the SQL Server, or repository (the Meta Data Services node) in SQL Server's Data Transformation node, or to a file on the desired location as a *.bas file. In the present tutorial it is saved as a TextDts package and also as TextDts.bas file.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


       · The article was really useful. But I face a different problem. I want to transfer a...
       · You have to be more explicit for em to look at. The objective of the article is to...
     

    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 1 hosted by Hostway