January 25, 2008 at 2:39 pm
I'm sure this is just a command line switch, but I'm unable to find it in the command line help or on BOL... I am running BCP out for an ETL operation, and the receiving app expects the data without headers. How do I suppress the header row with column names in it?
Thx,
tim
Tim Mitchell, Microsoft Data Platform MVP
Data Warehouse and ETL Consultant
TimMitchell.net | @Tim_Mitchell | Tyleris.com
ETL Best Practices
January 26, 2008 at 9:11 am
Are you sure we're talking BCP 'cause BCP doesn't output column headers and can't be made to do so... it requires a UNION in a proc to output column headers in BCP. Don't know of any switch option to force it to include column headers, either.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 28, 2008 at 7:16 am
Thanks Jeff, you are correct - the file I was chasing down was actually not generated using bcp at all but another process. That'll teach me to to assume, eh?
Tim Mitchell, Microsoft Data Platform MVP
Data Warehouse and ETL Consultant
TimMitchell.net | @Tim_Mitchell | Tyleris.com
ETL Best Practices
January 28, 2008 at 2:02 pm
It that case... might be OSQL... THAT does have such a set of switches... if memory serves, "-h-1" (no spaces, no quotes) would be the switch you're looking for.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply