大家好我真的在努力解决这个问题,我们将非常感谢任何帮助,
exec xp_cmdshell bcp SELECT
[col1]
,[col2]
FROM [database1].[dbo].[table1]
queryout C:\Test2.csv -c -t , -S Servername-PC -T
这是我得到的错误,
Msg 102, Level 15, State 1, Line 26
Incorrect syntax near '\'.