首先: sp_configure 'show advanced options', 1; GO RECONFIGURE; GO sp_configure 'xp_cmdshell', 1; GO RECONFIGURE; GO 然后: --导出表的情况 EXEC master..XP_cmdshell 'bcp 数据库名.dbo.表名 out "c:test.x
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号