Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS 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 November 17th, 2004, 11:38 AM
Registered User
Join Date: Nov 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing table name as parameter in a DTS Package

Extremely Urgent

I am trying to copy a table from one sql server to another sql server through a DTS Package. I have to pass part of table name as a parameter(s). I have to develop the package such that it will accept these parameters and create table name and copy that table.
Ex: I have to copy a table named as Dev12test3. I will pass the parameter 12 and 3. The package should take these parameters and build the table name as Dev12test3 and copy table

Thanks in Advance
  #2 (permalink)  
Old November 17th, 2004, 04:38 PM
Registered User
Join Date: Nov 2004
Location: Sycamore, IL, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

I'm new to sql server and very naive, but I'll take a chance.

I've read about the Dynamic Properties Task and an initialization file (.ini). Will they do what you need? I'm guessing they're discussed in other books but I found them in Microsoft SQL Server 2000 DTS Step By Step, by Carl Rabeler, page 215+. Good luck.

  #3 (permalink)  
Old January 7th, 2005, 02:24 AM
Registered User
Join Date: Dec 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vipulcs

Use a dynamic properties task, to assign a values at runtime. this makes ur package completely configurable. U can use INI files, global variables, constants and many others for this.


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
DTS package - passing values at run time kkrish SQL Server 2000 1 June 20th, 2006 04:56 PM
Passing Output Parm From St Proc to DTS Package lwendt33 SQL Server DTS 2 February 2nd, 2005 05:15 PM
Dynamic Table Creation in DTS Package clm100 SQL Server DTS 3 September 3rd, 2004 04:08 PM
DTS Package , Dynamic Table. sasidhar79 SQL Server DTS 1 June 11th, 2004 10:23 AM

All times are GMT -4. The time now is 01:11 AM.

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