码迷,mamicode.com
首页 > 数据库 > 详细

SqlServer扩展存储过程

时间:2016-05-27 20:15:04      阅读:183      评论: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)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!