下载BCP实用工具SQL服务器后,我跑这个代码,让我从内SSMS运行BCP: EXEC sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
EXEC sp_configure 'xp_cmdshell', 1
GO
RECONFIGURE
GO
现在我想写一个测试文件到我的电脑用此代码: exec xp_cmdshe
我试图使用BCP导出为XML格式,XML文件生成正确,但实际内容看起来不正确。任何人都可以帮忙吗? 当我试图打开一个浏览器,我得到了以下错误消息的XML: This page contains the following errors: error on line 1 at column 62: Extra content at the end of the document 的SQL选择我使用的