Unix Technical Forum

DTS - help

This is a discussion on DTS - help within the SQL Server forums, part of the Microsoft SQL Server category; --> Create a table (each time different table) – we have a DTS to do that -- 1 There is ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 05:41 AM
Geetha
 
Posts: n/a
Default DTS - help

Create a table (each time different table) – we have a DTS to do that
-- 1
There is a fixed delimited text file; we need to Import this file into
the created table above and we have another DTS to do that. –2

We want to combine these two DTS into one.

The problem is when the table does not exist it will not show in the
drop down list for DTS 2.

Is there a way we can pass the table name as a variable name from DTS
1 to DTS 2. Only for 2, we need a DTS. For 1, it can be a stored
procedure or anything.

My main question is if there is a way to pass the variable name (table
name) to DTS2?

Thank you very much for your help in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 05:42 AM
Dan Guzman
 
Posts: n/a
Default Re: DTS - help

You can assign the table name to a DTS global variable and then use a
dynamic properties task to set DTS object properties to the global variable
value.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Geetha" <gelangov@hotmail.com> wrote in message
news:4b40e20a.0410280621.cfce123@posting.google.co m...
> Create a table (each time different table) - we have a DTS to do that
> -- 1
> There is a fixed delimited text file; we need to Import this file into
> the created table above and we have another DTS to do that. -2
>
> We want to combine these two DTS into one.
>
> The problem is when the table does not exist it will not show in the
> drop down list for DTS 2.
>
> Is there a way we can pass the table name as a variable name from DTS
> 1 to DTS 2. Only for 2, we need a DTS. For 1, it can be a stored
> procedure or anything.
>
> My main question is if there is a way to pass the variable name (table
> name) to DTS2?
>
> Thank you very much for your help in advance.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com