Tag Info

New answers tagged


It looks like the only thing I can see to change is .csv to .txt such as: 'bcp "exec admin..sp_ReportInventoryIssues" queryout \\test01\testqdls\invtrans\testfile.txt -c -t, -T -S'+ @@SERVERNAME source EDIT: My first answer is way off, beg your pardon. I think it may have to do with quotes for the executable string: set @sql = 'bcp "exec ...

Top 50 recent answers are included