Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Is it possible to fire a stored proc when a file is created? (WMI Alert)

$
0
0

I would like to execute a store proc when a file gets created each day, the file gets deleted as part of the proc.

Can I do this  using SQL alert - WMI event alert? I imagine creating a job which runs the proc and the job will run the proc. The alert would start the job on file creation.

Is this possible, can anyone help with a sample query? What should I use as the Namespace?

Thanks


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>