Export (0) Print
Expand All
Expand Minimize

@@TEXTSIZE (Transact-SQL)

Returns the current value of the TEXTSIZE option.

Topic link iconTransact-SQL Syntax Conventions


@@TEXTSIZE

The following example uses SELECT to display the @@TEXTSIZE value before and after it is changed with the SETTEXTSIZE statement.

-- Set the TEXTSIZE option to the default size of 4096 bytes.
SET TEXTSIZE 0
SELECT @@TEXTSIZE AS 'Text Size'
SET TEXTSIZE 2048
SELECT @@TEXTSIZE AS 'Text Size'

Here is the result set.

Text Size

-----------

4096

Text Size

-----------

2048

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft