Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > BOOK: Professional SQL Server 2000 DTS
|
BOOK: Professional SQL Server 2000 DTS
This is the forum to discuss the Wrox book Professional SQL Server 2000 DTS (Data Transformation Services) by Mark Chaffin, Brian Knight, Todd Robinson; ISBN: 9780764543685
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2000 DTS 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 March 2nd, 2007, 06:22 PM
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is it possible to create DTS Connection object?

Good book with many useful examples and insights but believe it or not, I found a few things that weren't covered in it!

I have a DTS package that has a single source connection to a SQL 2000 Server and 20 destination connections producing flat files. The flat files generated need to be placed into one of four subfolders depending on who the package is being run for.

Because of this, I need to be able to modify the output filename on each of the 20 output files dynamically. Dynamic properties won't work (I don't think) unless I can create one on the fly and then establish constraints around it and then execute it.

I can make this whole thing function like I want if I could:
  A. Directly modify the Connection object's properties through the connection's Properties property.
  B. Or if I could actually create a connection object dynamically. (Strange that the book implies that a complete DTS package ought to be able to be created via a Visual Basic progam, but the only examples shown are for dynamically creating Tasks and Steps.)

Does anyone know to modify the DTSFlatFile destination filename?

It is not the critic who counts...  [T.Roosevelt]





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using trusted connection with DTS scripts Crowandazi SQL Server DTS 0 June 3rd, 2005 10:17 AM
create a Line object ,Box object in CR at Runtime? thanhnt Pro VB 6 1 May 16th, 2005 06:51 AM
Use DTS to create new MS Access DB? anya SQL Server DTS 2 February 25th, 2005 10:24 AM
Create Data Pump Attribute in DTS bmains SQL Server DTS 0 June 6th, 2003 08:40 AM





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