On a SQL server 2008 we're running a stored procedure.
When we launch the SP manually from within management Studio, the SP runs for 4 minutes and takes 60 % CPU on the server. When we launch the same SP as a job (scheduled or not) it takes 45 minutes to finish with a CPU usage of 100 %.
What can be the reason for this ?