EXEC master..xp_cmdshell 'bcp 数据库名.dbo.表名 out d:\1.txt -c -q -U"sa" -P"password"' 我再执行这个语句时出现错误 Server: Msg 229, Level 14, State 5, Procedure xp_cmdshell, Line 1 EXECUTE 権限は、オブジェクト 'xp_cmdshell'、データベース 'master'、所有者 'dbo' にありません。 这个怎么解决?
exec sp_configure 'xp_cmdshell', 1 reconfigure