Home Forums SQL Server 2012 SQL Server 2012 - T-SQL resolve sql issue by not using cursor or while loop RE: resolve sql issue by not using cursor or while loop
pietlinden
SSC Guru
Points: 63435
More actions
November 23, 2014 at 2:20 pm
#1760388
You might be able to do this by using a Tally table. Jeff Moden has a great article on it.
http://www.sqlservercentral.com/articles/T-SQL/62867/