Hi everyone. I'm having some issues with a while loop I'm trying to run. I've included the portion of the SQL that is relevant. I'm trying to loop a record here which contains a very long description that I want to break out into chunks of 2000 characters that would be inserted in single rows. As you can see I'm using a cursor to loop through each record which contains a productID and the description. In my While loop statement, I'm determining whether to continue extracting based on the length of the remainder of the text that I'm extracting. The issue is that the loop is not looping and is only ran once. Does anyone see what the issue is here?Open crs_DescriptionDECLARE @ProductID intDECLARE @Description varchar(2000)DECLARE @Seq intDECLARE @StartIdx intDECLARE @T1 intDECLARE @T2 intSET @StartIdx = 0SET @T1 = 2000SET @T2 = 2000SET @Seq = 0FETCH NEXT FROM crs_Description INTO @ProductID, @DescriptionWHILE (@@FETCH_STATUS <> -1)BEGIN WHILE (LEN(SUBSTRING(@Description, @StartIdx, @T1)) > 0) BEGIN --INSERT INTO STMT HERE SELECT @ProductID, 2, @Seq, 0, SUBSTRING(@Description, @StartIdx, @T1) SELECT @Seq = @Seq + 1 SELECT @StartIdx = 1 SELECT @StartIdx = @T1 + @StartIdx --ex. 2000 + 1 Range (2001 - 4000) SELECT @T1 = @T1 + @T2 --ex. 2000 + 2000 = 4000 END FETCH NEXT FROM crs_Description INTO @ProductID, @DescriptionENDCLOSE crs_DescriptionDEALLOCATE crs_DescriptionGO