Hi,
RE: SQL Server 2000
Here is my task. I will be writing the results of query to a datatype of varchar(8000).
However, the results of the query often exceed 8000 characters... so I can't fit the entire result in the variable.
An alternative we were thinking of is to define additional varchar(8000) variables, and store the "overflow" of 8000+ characters in the additional variables.
So, the question is, how to tell when the first variable is approaching the 8000 character limit?
Is there a way to do this???
Thanks much
RE: SQL Server 2000
Here is my task. I will be writing the results of query to a datatype of varchar(8000).
However, the results of the query often exceed 8000 characters... so I can't fit the entire result in the variable.
An alternative we were thinking of is to define additional varchar(8000) variables, and store the "overflow" of 8000+ characters in the additional variables.
So, the question is, how to tell when the first variable is approaching the 8000 character limit?
Is there a way to do this???
Thanks much