![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I still have problems with a DTS package. I have a Table A, where I have the path file to save the file and the ID company I need to generate a csv files from a table B for each ID company using its Path file. and this job must be scheduled. Of course, the goal is to use a unique DTS package, and I suppose I have to use GlobalVariables. But.. but I tried many options and they don't work. Thanks for your help. Stan |
#3
| |||
| |||
|
|
Hi I still have problems with a DTS package. I have a Table A, where I have the path file to save the file and the ID company I need to generate a csv files from a table B for each ID company using its Path file. and this job must be scheduled. Of course, the goal is to use a unique DTS package, and I suppose I have to use GlobalVariables. But.. but I tried many options and they don't work. Thanks for your help. Stan |
#4
| |||
| |||
|
|
This should get you started- How to loop through a global variable Rowset (http://www.sqldts.com/default.aspx?298) -- Darren Green http://www.sqldts.com "Stan Sainte-Rose" <stan (AT) cyber972 (DOT) com> wrote in message news:OV77cdp3DHA.2280 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Hi I still have problems with a DTS package. I have a Table A, where I have the path file to save the file and the ID company I need to generate a csv files from a table B for each ID company using its Path file. and this job must be scheduled. Of course, the goal is to use a unique DTS package, and I suppose I have to use GlobalVariables. But.. but I tried many options and they don't work. Thanks for your help. Stan |
#5
| |||
| |||
|
|
Wowww.. :-) I thank you for the urls. For the loop, I used another proc but this one seems very cool. But I don't know how to create the package for the export section. I tried to understand the (http://www.sqldts.com/Default.aspx?246) article but... Allan gave me some directions with the following proc but I never knew how to send the parameters (?) and change the destinations directory for the export file. SELECT DISTINCT A_CLIENTS.idclient, A_CLIENTS.CLICODE, A_CLIENTS.CLIEMAIL, FROM A_CLIENTS WHERE A_CLIENTS.IDSOCIETE= ? AND LOGDATE< ? Stan "Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> a écrit dans le message de news:uTnLmkp3DHA.2888 (AT) tk2msftngp13 (DOT) phx.gbl... This should get you started- How to loop through a global variable Rowset (http://www.sqldts.com/default.aspx?298) -- Darren Green http://www.sqldts.com "Stan Sainte-Rose" <stan (AT) cyber972 (DOT) com> wrote in message news:OV77cdp3DHA.2280 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Hi I still have problems with a DTS package. I have a Table A, where I have the path file to save the file and the ID company I need to generate a csv files from a table B for each ID company using its Path file. and this job must be scheduled. Of course, the goal is to use a unique DTS package, and I suppose I have to use GlobalVariables. But.. but I tried many options and they don't work. Thanks for your help. Stan |
![]() |
| Thread Tools | |
| Display Modes | |
| |