22,298
社区成员
发帖
与我相关
我的任务
分享exec master..xp_cmdshell 'bcp test11..tb out c:\d.txt1 -c -S.\SQL2008 -T'
/*
output
-----------------------------------------------------------------------
NULL
开始复制...
NULL
已复制 12 行。
网络数据包大小(字节): 4096
总时钟时间(毫秒) : 63 平均值: (每秒 190.48 行。)
NULL
(7 行受影响)
*/临时做了个测试.
exec master..xp_cmdshell 'bcp test..tb out c:\d.txt -c -S. -T'
/*
output
-------------------------------------------------------------------
NULL
开始复制...
NULL
已复制 57 行。
网络数据包大小(字节): 4096
总时钟时间(毫秒) : 62 平均值: (每秒 919.35 行。)
NULL
(7 行受影响)
*/
--在我这没什么问题.我的数据库:
/*
Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86)
Oct 14 2005 00:33:37
Copyright (c) 1988-2005 Microsoft Corporation
Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2)
*/
select * from sys.databases where name = N'test';