Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 4th, 2003, 11:18 AM
Authorized User
Join Date: Jun 2003
Location: Richmond, VA, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combining DTS Packages

I am using SQL Server 2k and I am kinda new to this so bear with me. I wanted to export a subset of a table to a text file so I could send it to someone else. I used the DTS wizard and I think I got it right cause I get a text file with the subset i want. I also had to do this for another table in the same db. My question is: is there a way for me to combine these two very similar packages into one package because I am going to be running them both frequently? I tried to make an empty package and drag and drop the others into it but it didn't work? It seems like if you go in and edit a package you can add as many tasks as you want but I haven't been able to create a package without the wizard yet. When i go into the editing interface there are so many buttons its a little overwhelming. Even if I have the wizard-generated package right in front of me I can't recreate it without the wizard. Is there any hope for me or will I have to learn to use the package editing environment?
Reply With Quote
  #2 (permalink)  
Old June 4th, 2003, 01:02 PM
Registered User
Join Date: Jun 2003
Location: Upland, CA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

If you want to simply execute both packages at the same time, you can simply create a third package where you drag and drop the "Execute Package" task twice.

If you want to actually import the details of the two packages into the same package, that's a bit harder. You can use the "save as" command from the package save both the packages as Visual Basic Modules, then use your expertise in VB to manually combine them together.

Hope this helps you.

Reply With Quote
  #3 (permalink)  
Old June 4th, 2003, 03:02 PM
Authorized User
Join Date: Jun 2003
Location: Richmond, VA, USA.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts

"where you drag and drop the "Execute Package" task twice."

Could you clarify this for me.
I am in the Enterprise Manager, under the DTS folder, looking at my Local Packages.
I see the two I created and then under that is the new empty one.
I can't drag and drop anything from this screen.
The way I have been executing each of these packages is by right-clicking and then selecting execute package.
How do I go about dragging them into a new package?
Reply With Quote
  #4 (permalink)  
Old June 10th, 2003, 01:01 PM
Authorized User
Join Date: Jun 2003
Location: Ft. Lauderdale, Florida, USA.
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts

Try this: make a third DTS and select the "Execute Packedge Task" for each one of the other DTS pacakedges you want to execute. Or just add the "Execute Packedge Task" to eithr one of the two pointing at the other.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
generating reports using DTS packages brahma_ramesh SQL Server DTS 2 January 19th, 2006 05:50 AM
Executing DTS packages in ASP.NET bmains SQL Server DTS 2 March 17th, 2004 03:50 PM
Mass Import DTS Packages ritag SQL Server DTS 2 September 16th, 2003 02:40 PM

All times are GMT -4. The time now is 10:09 AM.

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