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.
Sql trigger to start and pass parameters to windows service
-
25-07-2022 - |
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!
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow