Managing Multiple Excel incoming files?
 I have this situation. I have a client which have several locations they
 work primary with excel forms and they are thinking in doing reports with
 them. What they want is to import those Excel files into SQL Server for
 later using crystal reports or maybe asp.net for reporting. Those files
 will come every week from diferent locations then go to SQL Server and then
 they should be stored in a folder in the server for backup. So this means
 that i have to deal with the importing but also with the file naming. This
 is because they want the reports to be date based. So i have to ask them to
 include the date as part of the file name or changing the file name after
 procesing the file if I want to store them all in the same folder after
 procesing.
 So the real question is how do I deal with multiple file in regular basis
 bye changing the name of the file or enforcing they send me the file with
 the date already included. If the recomendation is the second one how can i
 tell the system to change the files after the procesing?
 Is there any easy way or tool to achive this? is there any way i can
 configure DTS to do that?
 EliezerThe easiest way would probably be to use a script task in DTS and us the
File System Object to manipulate the files. It can be done from TSQL but its
pretty kludgy. Using FSO from DTS will allow you a lot more flexibility and
control.
--
HTH
Jasper Smith (SQL Server MVP)
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Eliezer Figueroa" <efigueroa@.propoint.com.do> wrote in message
news:Xns9479AA48BF55Aefigueroapropointcom@.216.196.97.132...
> Managing Multiple Excel incoming files?
> I have this situation. I have a client which have several locations they
> work primary with excel forms and they are thinking in doing reports with
> them. What they want is to import those Excel files into SQL Server for
> later using crystal reports or maybe asp.net for reporting. Those files
> will come every week from diferent locations then go to SQL Server and
then
> they should be stored in a folder in the server for backup. So this means
> that i have to deal with the importing but also with the file naming. This
> is because they want the reports to be date based. So i have to ask them
to
> include the date as part of the file name or changing the file name after
> procesing the file if I want to store them all in the same folder after
> procesing.
> So the real question is how do I deal with multiple file in regular basis
> bye changing the name of the file or enforcing they send me the file with
> the date already included. If the recomendation is the second one how can
i
> tell the system to change the files after the procesing?
> Is there any easy way or tool to achive this? is there any way i can
> configure DTS to do that?
>
> Eliezer
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment