Viewing 2 posts - 1 through 2 (of 2 total)
OOPS ...the parameter should be visible now...
I think you need to add servername as a prameter to the bcp command. Something like:
'bcp "SELECT ' + @varFieldList + ' FROM '...
April 12, 2004 at 10:22 am
#502429
'bcp "SELECT ' + @varFieldList + ' FROM ' + @varTableName + '" QUERYOUT "'...
April 12, 2004 at 10:21 am
#502428