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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying text column content 1

Status
Not open for further replies.

nsonnek

Technical User
Aug 6, 2003
2
US
I am trying to display the content of a text column and am unable to display anything beyond 256 characters. I've tried several different methods including the following:
1. simple select statement (i.e., select dataxml from nodestate)
2. Bumped up the TEXTSIZE option and reran the select statement above
3. Used the READTEXT method below:

DECLARE @ptrval varbinary(16)
SELECT @ptrval = TEXTPTR(dataxml)
FROM nodestate
READTEXT nodestate.dataxml @ptrval 1 500

Any suggestions would be greatly appreciated.

Thank you.
NSonnek
Sr. Database Engineer
 
Are you using Query Analyzer? If so, try going to Tools->Options and in the Results tab increase the value for "Max characters per column".

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top