Question

I have a working windows service that generates reports based on parameters. I need to start a windows service when a new row inserted into a table and pass some newly inserted values to service to generate report. How to accomplish this? Am pretty new to this so please elaborate answer!

Was it helpful?

Solution

If you have access to xp_cmdshell, then you could run a NET START command, but usually xp_cmdshell is not a good idea to allow for a user as they'll need the sysadmin role.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top