how to continually checking the NT folder from sql server

How to continually checking the NT folder from SQL Server and Once the file is in c:\load directly I want to call the SSIS package to load the data into the table.
Bharat GuruAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Deepak ChauhanSQL Server DBACommented:
You can do it in multiple steps.

1. Create a job which will check file exists at the location or not , if exists this job will run the SSIS package job. You can schedule this job at 5 minutes or 1 hour interval this is depend on file presence possiblity.

2. Add a step in SSIS package job which will rename or move the file from original location to another location let says backup location so that file can not be start loaded again.

Let me know if further help needed.
Bharat GuruAuthor Commented:
I want to run the package soon as file loads
Deepak ChauhanSQL Server DBACommented:
So far i understand , a datafile let say .CSV will comes in C:\load folder then ssis package folder will pick this file and upload into table.

Is it only one file and everyday same name or different name?

if i understood correctly you can implement the same what i suggested above.
If file will comes with the same name everyday it would be easy but different name .... would be some tricky.

How your SSIS package run ... i mean through SQL agent job or using command prompt.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.