从sql中调用tracert和ping并将结果放入sql表中
我需要创建一个存储过程,它将获取目标IP,然后调用tracert或ping,然后将结果写入sql表,这样我就可以在网页中向用户显示结果。 可以这样做吗?如果是的话,请告诉我如何做,因为我已经搜索了很多,但没有找到合适的解决方案。 如果不是,你有什么建议?
谢谢
I need to create a stored procedure which will get destination IP and then call tracert or ping and then write the result into a sql table so then I can show user the result in a web page .
is it possible to do this ? if yes would you please tell me how because I have searched a lot and didn't find a proper solution .
and if not what do you suggest ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据需要修改 -
与tracert类似
Modify as needed -
Similarly for tracert