It takes additional steps to include column headers with bcp export:
Consider SSIS Import/Export Wizard, just a checkmark to include the header:
http://www.sqlusa.com/bestpractices/ssis-wizard/
SSIS package can be saved and reused ( a bit more complex than bcp in this regard).
Kalman Toth Database & OLAP Architect IPAD SELECT Query Video Tutorial 3.5 Hours
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012
No comments:
Post a Comment