I’ve got a really long running SQL query (data import, etc). It’s crap – it uses cursors and it running slowly. It’s doing it, so I’m not too worried about performance.
Anyways, can I pause it for a while (instead of canceling the query)?
It chews up a a bit of CPU so i was hoping to pause it, do some other stuff … then resume it.
I’m assuming the answer is ‘NO’ because of how rows and data gets locked, etc.
I’m using Sql Server 2008, btw.
Click the debug button instead of execute. SQL 2008 introduced the ability to debug queries on the fly. Put a breakpoint at convenient locations