Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All

Could you anyone explain how to call an EXE(C# Application) from SQl Trigger with Example?

Regards
Prasath
Posted
Comments
ZurdoDev 28-Mar-13 7:21am    
You can use xp_cmdshell but many installs will have it disabled due to security. You may want to rethink your approach.
Maciej Los 28-Mar-13 7:29am    
Post it as an answer :)
My virtual 5!
ZurdoDev 28-Mar-13 7:33am    
Thanks. I was hoping to get a some more info from the OP since this sounds like a really bad idea.
Maciej Los 28-Mar-13 7:33am    
Why do you want to call exe from query? What are you trying to achieve. Please, be more specific and provide more details.

1 solution

You can use xp_cmdshell but many installs will have it disabled due to security. You may want to rethink your approach.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900