Hi All,
I've been given a project to work on which involves taking data from various sources (mainly Excel) and putting them into a single database. Excel files will be automatically dropped into a shared folder on a regular basis (probably monthly), but everything needs to be automated with no user involvement (except for retrieving reports).
My question is, is it possible to setup file polling in SQL Server, so that as soon as a file is put into the shared folder, SQL picks it up and performs whatever tasks are required?
Another option I am looking at is to write a VB program that just checks the folder every 5 minutes or so, and if it finds a new file, it calls the stored procedures to do the processing, but I'd prefer to keep everything in SQL Server.
Any help would be much appreciated (its my first project in a new job so I'd like to get it working
).
I've been given a project to work on which involves taking data from various sources (mainly Excel) and putting them into a single database. Excel files will be automatically dropped into a shared folder on a regular basis (probably monthly), but everything needs to be automated with no user involvement (except for retrieving reports).
My question is, is it possible to setup file polling in SQL Server, so that as soon as a file is put into the shared folder, SQL picks it up and performs whatever tasks are required?
Another option I am looking at is to write a VB program that just checks the folder every 5 minutes or so, and if it finds a new file, it calls the stored procedures to do the processing, but I'd prefer to keep everything in SQL Server.
Any help would be much appreciated (its my first project in a new job so I'd like to get it working