1

Does anybody know to force sybase bcp to export column headers along with data?

The utility documentation curiously ignores this important feature..., perhaps I missing something.

Any help will be greatly appreciated

Danny Beckett
  • 20,529
  • 24
  • 107
  • 134
Rufus
  • 11
  • 3

1 Answers1

-1

It looks like this older post could give you some answers.

export table to file with column headers (column names) using the bcp utility and SQL Server 2008

BCP doesn't support a command line flag to add the headers unfortunately

Community
  • 1
  • 1
Brad
  • 15,186
  • 11
  • 60
  • 74