Thanks & Regards Hari
DECLARE @intFlag INT SET @intFlag = 1 WHILE (@intFlag <=5) BEGIN PRINT @intFlag SET @intFlag = @intFlag + 1 END GO
http://sqlusa.com/bestpractices2005/doublecursor/
Mark as Answer if its helpful to you Kumaraspcode2009@gmail.com
Login to post response