Quantcast
Channel: SQLServerCentral » SQL Server 2012 » SQL Server 2012 - T-SQL » Latest topics
Viewing all articles
Browse latest Browse all 4901

BCP text file is adding an extra line at the end of the file

$
0
0
I am using a BCP statement to output file to text so it can be uploaded to another application. However the extra line at the end of the file is causing issues.I am using -T -c -S which is what someone else has told me to use. I'm guessing its the -c which needs to be changed, but I do not know what to change it to.What parameters can I use to eliminate the extra line at the end of the file.Any help would be greatly appreciated.Thanks!

Viewing all articles
Browse latest Browse all 4901

Trending Articles