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.
↧