34,591
社区成员
发帖
与我相关
我的任务
分享
CREATE TABLE testA(
id INT,
[Birth Date] DATETIME,
[Join Date] DATETIME
)
EXEC master..xp_cmdshell 'bcp dbtest.[dbo].[testA] format nul -f D:\temp\[dbo].[testA].xml -x -c -E -S . -U sa -P 123456';
exec master..xp_cmdshell 'bcp dbtest.[dbo].[testA] format nul -f D:\temp\[dbo].[testA].xml -c -E -S . -U sa -P 123456';
CREATE TABLE testA(
id INT,
[Birth Date] DATETIME,
[Test Col] DATETIME
)
这样也不行呀,应该不是关键字的问题。