Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Function Returning Varchar(max)

Author  Topic 

Andy dg
Starting Member

6 Posts

Posted - 2007-03-01 : 12:41:58
I have a SQL function which returns a varchar(max). This gets truncated when the length is greater than 8000. Could you let me know how do I get the return value in a function without it being truncated.

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2007-03-01 : 13:15:57
What are you doing with the return value? Are you sure you aren't getting back the full length data, but then assigning it to a column or variable that is only 8000 characters?
Go to Top of Page
   

- Advertisement -