首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

master.dbo.xp_cmdshell 被删除了 不允许用 怎么处理

2012-01-06 
master.dbo.xp_cmdshell 被删除了 不允许用 怎么办?EXECmaster..xp_cmdshellbcpselect*fromdb.dbo.tbwher

master.dbo.xp_cmdshell 被删除了 不允许用 怎么办?
EXEC   master..xp_cmdshell
'bcp   "select   *   from   db.dbo.tb   where   datediff(dd,getdate(),col)=   -1 "   queryout   "g:\bak\vis ' '+convert(varchar(10),getdate(),2)+ ' '.txt "     -c   '

就不能用了  
还有什么其他的方法   可以建立JOB   每天倒出前一天数据到文本文件吗

[解决办法]
sp_addextendedproc

热点排行
Bad Request.