How to run a program from SQL?

前端 未结 4 1279
误落风尘
误落风尘 2020-12-20 08:00

I need to implement a tool that runs programs from SQL Server database when a DB record matches some condition. Is there a way to do it?

4条回答
  •  时光说笑
    2020-12-20 08:03

    You can start a program using xp_cmdshell

    http://msdn.microsoft.com/en-us/library/aa260689(SQL.80).aspx

提交回复
热议问题