opc.three (3/13/2012)
If you use SQL Agent, there is no need to introduce an additional programming domain into the call stack. Ditch xp_CmdShell and call bcp from a step with type CmdExec.SSIS would be an equally capable tool to use here as well.
Nice, good call.
_________________________________
seth delconte
http://sqlkeys.com