On a shared hosting provider, I get an error:
The request was canceled because the estimated cost of this request (1660) exceeds the set threshold of 1500. Contact your system administrator.
I understand that this is due to the fact that SQL Governor is enabled in the instance of SQL Server 2008 used, and therefore I need to reduce the cost of my query.
I would like to reproduce this condition on my dev machine. However, the resource controller is only available in the corporate version of MSSQL2008 (which I do not have), so I can not enable it locally.
Is it possible to localize a query? What are the units of this limit (1500)?
EDIT To be clear, I already have MSSQL on my machine, but the version does not support SQL Governor (for this you need the Enterprise version.)
source
share