Details:
I have a temporary table which does contain a unique ID. I have a query that runs to update a field in the table. That query takes quite a long while to run, and as such my progress indicator appears to be at a standstill.
Therefore I was considering an approach of dividing it into steps, I.e. run a query that updates the first 10% percent, update progress indicator, run the next 10% and so on. I realise this approach will overall be slower, but it will not make the screen appear frozen.
Question: Is there something similar to
Alternatively I could do
I have a temporary table which does contain a unique ID. I have a query that runs to update a field in the table. That query takes quite a long while to run, and as such my progress indicator appears to be at a standstill.
Therefore I was considering an approach of dividing it into steps, I.e. run a query that updates the first 10% percent, update progress indicator, run the next 10% and so on. I realise this approach will overall be slower, but it will not make the screen appear frozen.
Question: Is there something similar to
Select Top 100 records but instead is Select records 101-200?Alternatively I could do
Select top 100 ... WHERE MyField Is not Null but before going that route I was curios to know if the other is possible.
Comment