Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
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 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 November 17th, 2004, 11:38 AM
Registered User
 
Join Date: Nov 2004
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
 
Old November 17th, 2004, 04:38 PM
Registered User
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

 
Old January 7th, 2005, 02:24 AM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vipulcs
Default

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.






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





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