dbTalk Databases Forums  

create a DTS package that run for each Table/Query row

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss create a DTS package that run for each Table/Query row in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
clickout c
 
Posts: n/a

Default create a DTS package that run for each Table/Query row - 11-26-2004 , 10:20 AM








Hi all,
i'll try to explain my problem in the best way!

I'd like to create a DTS package that make a spreadsheet file where each
sheet represents an ubication of objects and contains the list of
objects for that ubication.

In order to obtain this I'm thinking to run 2 queries, the first to
obtain a list of ubications and the second to get the list of objects
for that ubication.
I've created a DTS package to get the list of objects for a specified
ubication but I don't know how to run that package for every ubication.

I apologize for my poor english.

ClickOut


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
Francesco Anti
 
Posts: n/a

Default Re: create a DTS package that run for each Table/Query row - 11-26-2004 , 10:43 AM






you can try a different strategy: look for "lookup query" in BOL.
You can import the ubication, and, in the trasform task you can call a
lookup query that returns the objects for the ubication.
ciao!

"clickout c" <massigazzola (AT) hotmail (DOT) com> wrote

Quote:

Hi all,
i'll try to explain my problem in the best way!

I'd like to create a DTS package that make a spreadsheet file where each
sheet represents an ubication of objects and contains the list of
objects for that ubication.

In order to obtain this I'm thinking to run 2 queries, the first to
obtain a list of ubications and the second to get the list of objects
for that ubication.
I've created a DTS package to get the list of objects for a specified
ubication but I don't know how to run that package for every ubication.

I apologize for my poor english.

ClickOut


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.