text, unitext, and image values can be quite large. When a select list includes the values for these datatypes, the limit on the length of the data returned depends on the setting of the @@textsize global variable.
The default setting for @@textsize depends on the software you use to access SAP ASE; the default value for for isql is 32K. To change the value, use the set command:
set textsize 2147483648
With this setting of @@textsize, a select statement that includes a text column displays only the first 2 gigabytes of the data.
To reset @@textsize to the SAP ASE default value, use:
set textsize 0
If the actual length of returned data is less than textsize, the entire data string appears.