Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 22nd, 2008, 11:05 AM
Registered User
 
Join Date: Apr 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SSIS - Access DataFlow Task properties thru' prgrm

Hi Team,
Could anyone help out accessing the dataflow task properties thru' script component. I hv a SSIS pkg which transfers content from a txt file to database. I use FlatFileSource and SQLServerDestination objects in DataFlow Task. My prime requirement is to transfer some specific rows from the txt file to sql destination. We hv FirstRow and LastRow properties in SQLDestination object. But the problem lies in accessing the customer properties thru' code(script component vb.net code). coz the incoming txt file wld be dynamic and I know the starting line based on some conditions. I hv assigned the start and end line values into a global variable thru script code. But finding it difficult to set the FirstRow and LastRow custome properties by reading this global variables. Appreciate anyone's kind effort to resolve this issue. many thx in advance
Regards,
 Maruthi

maruthi





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add task in Scheduled Task programatically amitjoshipune C# 2 July 31st, 2008 05:42 AM
SSIS Send Mail task problem MarekR BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 2 January 3rd, 2008 06:15 AM
SQL SSIS Send Mail Task mstoler SQL Server 2005 0 August 8th, 2006 07:35 AM
SSIS Send Mail task problem MarekR SQL Server 2005 0 June 6th, 2006 05:08 AM
Execute Task from ActiveX Script Task PorcupineRabbit SQL Server DTS 1 January 10th, 2006 12:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.