J Livingston SQL (6/29/2016)
For knowledge shake, is it possible to implement the same result in while loop ?
why?
what benefits do you perceive you will gain by using a while loop......?
Please stop thinking about processing one piece of data at a time and start thinking about what you want to do with the whole collection of data.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service