<p>Is there a way to tell MS SQL that a query is not too important and that it can (and should) take its time?</p>

<p>Likewise is there a way to tell MS SQL that it should give higher priority to a query?</p>

[{'answer_id': 60892, 'author': 'Kilhoffer', 'author_id': 5469, 'author_profile': 'https://Stackoverflow.com/users/5469', 'pm_score': 2, 'selected': False, 'text': "<p>SQL Server does not have any form of resource governor yet. There is a SET option called QUERY_GOVERNOR_COST_LIMIT but it's not quite what you're looking for. And it prevents queries from executing based on the cost rather than controlling resources. </p>\n"}, {'answer_id': 63010, 'author': 'Dan Williams', 'author_id': 4230, 'author_profile': 'https://Stackoverflow.com/users/4230', 'pm_score': 1, 'selected': False, 'text': "<p>I'm not sure if this is what you're asking, but I had a situation where a single UI click added 10,000 records to an email queue (lots of data in the body).  The email went out over the next several days so it didn't need to be a high priority, in fact it would bog the server every time it happened.</p>\n\n<p>I split the procedure into 10,000 individual calls, ran the process on the UI in a different thread (set to low priority) and set it to sleep for a second after running the procedure.  It took a while, but I had very granular control over exactly what it was doing.</p>\n\n<p>btw, this was NOT spam, so don't flame me thinking it was.</p>\n"}, {'answer_id': 65439, 'author': 'GilaMonster', 'author_id': 9342, 'author_profile': 'https://Stackoverflow.com/users/9342', 'pm_score': 5, 'selected': True, 'text': "<p>Not in versions below SQL 2008. In SQL Server 2008 there's the resource governor. Using that you can assign logins to groups based on properties of the login (login name, application name, etc). The groups can then be assigned to resource pools and limitations or restrictions i.t.o. resources can be applied to those resource pools</p>\n"}]
['https://Stackoverflow.com/questions/60878', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3153/']