首页 > 数据库技术 > 详细

SqlServer扩展存储过程

时间:2016-05-27 20:14:15      阅读:261      评论:0      收藏:0      [点我收藏+]

1. 扩展存储过程xp_cmdshell用法:

技术分享
--1.启用
SP_CONFIGURE show advanced options,1
RECONFIGURE
GO
SP_CONFIGURE xp_cmdshell,1
RECONFIGURE
GO
--2.用法
master..xp_cmdshell DIR D:\
--3.关闭
SP_CONFIGURE xp_cmdshell, 0   
RECONFIGURE  
GO
SP_CONFIGURE show advanced options, 0  
RECONFIGURE 
GO
View Code

 

SqlServer扩展存储过程

原文:http://www.cnblogs.com/sccd/p/5535746.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!