Home Forums SQL Server 7,2000 T-SQL BCP host-files must contain at least one column RE: BCP host-files must contain at least one column
Sergiy
SSC Guru
Points: 110206
More actions
August 11, 2011 at 6:28 am
#1367231
The last SELECT from your SP must be from a # table.
BCP evaluates output by recompiling procedure, before it's executed.
At the time of compilation temp table does not exist yet, therefore there is no output.
_____________Code for TallyGenerator