Ted Smith
SSC Veteran
Points: 255
More actions
February 22, 2006 at 12:54 pm
#189357
Hey all!
I am bcp'ing a view out with named column headers and was wondering if there is a parameter to pass to bcp that makes the column header names appear at the top of the extract file?
I can't find one.
Thanks!
peterhe
SSChampion
Points: 11469
February 24, 2006 at 7:42 am
#623207
Bcp does not have this property.
You can try osql.
osql -E -Q"SELECT * FROM view" -o "outputfile"
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply