I get this error :Could not complete cursor operation because the set options have changed since the cursor was declared. [SQLSTATE 42000] (Error 16958). The step failed. by running my storage procedure if it's starded with a job.
The same sp starded with Management Studio like exec my_sp runs without problems.
Can you help me?