I've got a document which is about 40,000 characters stored in an ntext field. I have used 'set @@textsize' in query analyser to increase my textsize.
I have written a query :
DECLARE @Val varbinary(16)
SELECT @Val = TEXTPTR([DocumentXML])
FROM [tblDocument]
WHERE [DocumentID] = '91'
READTEXT [tblDocument].[DocumentXML] @Val 0 40000
but when i run it, it only brings back 32,000 characters.
Can anybody help/explain what i'm doing wrong?
Kitty
I have written a query :
DECLARE @Val varbinary(16)
SELECT @Val = TEXTPTR([DocumentXML])
FROM [tblDocument]
WHERE [DocumentID] = '91'
READTEXT [tblDocument].[DocumentXML] @Val 0 40000
but when i run it, it only brings back 32,000 characters.
Can anybody help/explain what i'm doing wrong?
Kitty