dbTalk Databases Forums  

Upload Query data with DTS Packages???

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


Discuss Upload Query data with DTS Packages??? in the microsoft.public.sqlserver.dts forum.



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

Default Upload Query data with DTS Packages??? - 04-28-2008 , 10:04 AM






Hi,

I am trying to upload query data to a CSV file. I have created a DTS
package and its running fine when i run it manually. But, when i schedule it
is not updating the query contents.

I need your help to do this task:
1. i have one query to pull all details
2. another query to pull summary info
3. i have to write a csv file with the results of above two queries.
filename has to be in the given format.
4. This job has to run daily and upload file with latest data.

For the first time, it is uploading files correctly. But next time onwards,
it is uploading the same contents. I have used global variables to store the
query output value (RowSet) and used ActiveX Script to read the variable and
write to a file.

The problem is it is not refreshing the query contents.

Please suggest...

Thanks



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.