Set-based just means using an INSERT/UPDATE etc on a set of data at a time, rather than cycling through and executing it once for each row. You use set-based processing all the time, eg:
Code:
UPDATE t
SET c1 = 123
WHERE id = 1
This would be far better than using a cursor to loop through each row, checking the id and updating one at a time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.