Hello all,
I have executed two identical bcp commands on two different setups with the same data.
Machine A = Windows Vista machine which is running SQL Server 2008
Machine B = Windows Server 2003 machine running SQL Server 2005
The output text file of the bcp command is different! For a start, Machine B does not add column names to the beginning of the text file and it seems to get line breaks wrong. Each row should be separated by line breaks instead it seems as if its putting in line breaks after two fields?!
The bcp command is this:
bcp DBn_Mitor..TI40 out C:\prepTI4O.txt -c -T -t"\",\"" -r"\"\n\"" -S SQLServer01 -E
What is going on here? What is different in SQL Server 2005 and 2008 that will make bcp work differently?