Problem with Command Line BCP and SQL2005 | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Problem with Command Line BCP and SQL2005

Hello, I have a routine that executes a stored procedure from a BCP Command line to dump a record set into a .bcp file. In SQL 2000 It works fine but in SQL2005 it returns the following message "bcp host file must contain at least one column" I would like to keep this functionality without re-writing the whole app. Please help.
Post the statement used in SQL 2005 too for further assessment. Satya SKJ
Microsoft SQL Server MVP
Writer, Contributing Editor & Moderator
This posting is provided AS IS with no rights for the sake of knowledge sharing. Knowledge is of two kinds. We know a subject ourselves or we know where we can find information on it.

Software Reviews | Book Reviews | FAQs | Tips | Articles | Performance Tuning | Audit | BI | Clustering | Developer | Reporting | DBA | ASP.NET Ado | Views tips | | Developer FAQs | Replication Tips | OS Tips | Misc Tips | Index Tuning Tips | Hints Tips | High Availability Tips | Hardware Tips | ETL Tips | Components Tips | Configuration Tips | App Dev Tips | OLAP Tips | Admin Tips | Software Reviews | Error | Clustering FAQs | Performance Tuning FAQs | DBA FAQs |