How can the varchar(8000) limit be overcome?Using SQL 2000 (SQL Query Analyser - Stored Procedure)... eg: here's what I have... -- declare variables for the cursorDECLARE @tLine integerDECLARE @tCount integerDECLARE @tWorkFlow varchar(300)DECLARE @strWorkFlow1 varchar(8000)DECLARE @strWorkFlow2 varchar(8000)DECLARE @strWorkFlow3 varchar(8000)SET @tCount = 0SET @tLine = 1SET @strWorkFlow1 = (SELECT '')SET @strWorkFlow2 = (SELECT '')SET @strWorkFlow3 = (SELECT '')-- prepare the string using a cursorDECLARE tblCursor SCROLL CURSOR FOR SELECT RTRIM(chngStatus) + ' by ' + RTRIM(employee) + ' on ' + CAST( DATEPART(dd, chngDate) as varchar(2) ) + CAST( DATENAME(mm, chngDate) as varchar(3) ) + CAST( DATEPART(yyyy, chngDate) as varchar(4) ) + ' ' + CONVERT(varchar, chngDate, 108 ) as [workFlow] FROM @tblTicketHistoryOPEN tblCursorFETCH NEXT FROM tblCursor INTO @tWorkFlowWHILE @@fetch_status = 0 BEGIN SET @tCount = @tCount + 1 PRINT '--------------------COUNT---------------------------' PRINT @tCount PRINT @tWorkFlow PRINT LEN( @tWorkFlow ) IF (@tCount = 1) SET @strWorkFlow1 = RTRIM(@tWorkFlow) ELSE BEGIN IF (@tLine = 1) BEGIN PRINT 'line 1 code' IF (LEN(@tWorkFlow) + LEN(@strWorkFlow1)) <= 8000 SET @strWorkFlow1 = @strWorkFlow1 + ' > ' + RTRIM(@tWorkFlow) ELSE SET @tLine = @tLine + 1 END IF (@tLine = 2) BEGIN PRINT 'line 2 code' IF (LEN(@tWorkFlow) + LEN(@strWorkFlow2)) <= 8000 SET @strWorkFlow2 = @strWorkFlow2 + ' > ' + RTRIM(@tWorkFlow) ELSE SET @tLine = @tLine + 1 END IF (@tLine = 3) BEGIN PRINT 'line 3 code' IF (LEN(@tWorkFlow) + LEN(@strWorkFlow3)) <= 8000 SET @strWorkFlow3 = @strWorkFlow3 + ' > ' + RTRIM(@tWorkFlow) ELSE SET @tLine = @tLine + 1 END END PRINT 'LINE' PRINT @tLine FETCH NEXT FROM tblCursor INTO @tWorkFlowENDPRINT '--------------------EXEC---------------------------'-- ERROR: Must declare the variable '@strWorkFlow1'Exec( 'SELECT @strWorkFlow1 + @strWorkFlow2 + @strWorkFlow3' ) -- doesnt actually return/display anything at allPRINT '--------------------SELECT---------------------------'SELECT @strWorkFlow1 as [str1]SELECT @strWorkFlow2 as [str2]SELECT @strWorkFlow3 as [str3]SELECT @strWorkFlow1 + @strWorkFlow2 + @strWorkFlow3 as [all3] -- truncates to 8000--SELECT CONVERT(text, @strWorkFlow1 + @strWorkFlow2 + @strWorkFlow3) -- truncates to 8000--SELECT CAST(@strWorkFlow1 + @strWorkFlow2 + @strWorkFlow3 AS TEXT) -- truncates to 8000PRINT '--------------------PRINT---------------------------'PRINT LEN( @strWorkFlow1 )PRINT @strWorkFlow1PRINT LEN( @strWorkFlow2 )PRINT @strWorkFlow2PRINT LEN( @strWorkFlow3 )PRINT @strWorkFlow3PRINT ( LEN( @strWorkFlow1 ) + LEN( @strWorkFlow2 ) + LEN( @strWorkFlow3 ) )PRINT LEN( @strWorkFlow1 + @strWorkFlow2 + @strWorkFlow3 ) -- max 8000PRINT @strWorkFlow1 + @strWorkFlow2 + @strWorkFlow3 -- truncates to 8000CLOSE tblCursorDEALLOCATE tblCursor