Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

xp_cmdshell BCP

$
0
0
The same command works in SQL 2005 but just returns null in 2014. I'm going nuts with this.xp_cmdshell 'bcp "select top 10 * from dbo.customer_master" queryout ''C:\customers_master.txt'' -T -e C:\customers_mastererr.txt'Anybody running into this issue? This is new server. Do I need to configure anything for Xp_Cmdshell or BCP?I'd really appreciate your help. Its is not even generating error file for me to see what is going wrong.

Viewing all articles
Browse latest Browse all 3145

Trending Articles