我们最近将所有数据库从MyServerA移至MyServerB。一切都工作得很好的MyServerA,但是当我尝试调用使用xp_cmdshell的bcp命令,我收到以下错误: Error = [Microsoft][SQL Server Native Client 11.0]Unable to open BCP host data-file
一些信息: 我敢肯定,我的用户m登录作为MyServ
我试图用xp_cmdshell的这个BCP: 'BCP "SELECT TOP 1 Data FROM <FQDN> WHERE Name = ''<name>'' " queryout "C:\exportdir\export_data.dat" -T -n -S .\SQLEXPRESS'
但我在的开始时得到一些额外的数据文件缓冲区。我测试了两次,并开始与 两个文件BB 67 B9 00