摘要: 两个步骤第一、设置外围应用配置器进入 - 功能的外围应用配置器 - xp_cmdshell 启用第二、利用BCP,如下例语句EXEC master..xp_cmdshell 'BCP "select title, CONVERT(varchar(12) , times, 111 ) as times from information.dbo.information where [type]=7" queryout c:\abc.xls -c -U"sa" -P"123"' 阅读全文
posted @ 2012-12-28 16:57 RyanRuan 阅读(265) 评论(0) 推荐(0) 编辑
View Code