开发者

Sybase FSQL text-type column size limit

I need to execute a SELECT... from Sybase's command line tool, 开发者_StackOverflow社区FSQL, which includes a text column as well (which contains some XML data).

Problem is, the data is chopped at 4096 characters.

How can I raise this limit as my data is larger than that. FSQL -h gives me no help - google neither.


Original solution: to use isql -o instead of fsql which does not seem to have this limitation.

Updated solution:

Unfortunately both isql and fsql are limited by the default @@textsize parameter set in Sybase (on our server it is set to 32768).

To override the default issue the following command

SET TEXTSIZE 100000

before the query.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜