Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

length of string variable is > 8000 characters

Status
Not open for further replies.

rajkum

Programmer
Jul 30, 2003
48
US
Hi
I have a string variable in Stored Proc which is greater than 8000 characters. how do i deal with it?

It is a SQL statement i am generating dynamically for a report.

Thanks,
Raj
 
if it is this sort of thing

exec (@statement)

you could try splitting it to

exec (@statement_p1 + @statement_p2)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top