HI,
I'm using the following bcp command to generate a text file. How do I include the column headers as the first row. THANKS
bcp "SELECT Basix_IM01.dbo.dc_flat_file.* FROM Basix_IM01.dbo.dc_flat_file WHERE ([DC Number] = 6)" queryout "NIN_06_081403.txt" -F 1 -c -t "|"