如何从SQL Server中的作业执行.exe文件 [英] How to execute .exe file from job in SQL server

查看:767
本文介绍了如何从SQL Server中的作业执行.exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





目前我正在使用xp_cmdshell执行.exe文件。而不是使用xp_Cmdshell我想在工作中这样做。那可能吗 ?请建议如果有的话



我尝试过的事情:



Hi,

Currently i'm executing the .exe file using xp_cmdshell. Instead of using xp_Cmdshell i wanna do this in job. is that possible ? pls suggest if any

What I have tried:

Currently i'm executing the .exe file using xp_cmdshell. Instead of using xp_Cmdshell i wanna do this in job. is that possible ? pls suggest if any

推荐答案

请参阅文档 - 创建一个CmdExec作业步骤Microsoft Docs [ ^ ]
See the documentation - Create a CmdExec Job Step | Microsoft Docs[^]


这篇关于如何从SQL Server中的作业执行.exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆