I'm using Microsoft SQL Server 2008 R2 and I try to dump a table via bcp (with a scheduled Job). First of all I implemented it with xp_cmdshell, but I've heard, that this should be avoided due to security reasons.
So my question: What's about sp_oaMethod? Should it be used? If not, why not? And could you suggest other possibilities?