摘要:
1.将数据库中查询的表格导出到指定的路径,首先启用.xp_cmdshell,上一篇随笔有写如何开启.xp_cmdshell。 DECLARE @sql NVARCHAR(4000) --定义变量存储格式 DECLARE @server NVARCHAR(20) --定义变量存储格式 set @ser 阅读全文
摘要:
1. 查看系统数据库参数配置: select * from sys.configurations where name='xp_cmdshell' 修改系统数据库参数: 2.通过命令方式,启动xp_cmdshell: sp_configure 'show advanced options',1 re 阅读全文