I am using the below code to create a .CSV file using a BCP commmand.
What I need to know is how do I make the first row in the CSV file the column names? IS there some option on the BCP command to do this
or will it be more difficult?
declare @sql varchar(8000)
SET @sql = 'bcp...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.