Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Returns the current value of the TEXTSIZE option of the SET statement. This specifies the maximum length, in bytes, of varchar(max), nvarchar(max), varbinary(max), text, or image data that a SELECT statement returns.
Transact-SQL Syntax Conventions
Syntax
@@TEXTSIZE
Return Types
integer
Remarks
The default size is 4096 bytes. The maximum size that @@TEXTSIZE returns is 2^31-1 bytes.
Examples
The following example uses SELECT to display the @@TEXTSIZE value before and after it is changed with the SET``TEXTSIZE statement.
SELECT @@TEXTSIZE AS 'Text Size'
SET TEXTSIZE 2048
SELECT @@TEXTSIZE AS 'Text Size'
Here is the result set.
Text Size
-----------
4096
Text Size
-----------
2048
See Also
Reference
Configuration Functions (Transact-SQL)
SET TEXTSIZE (Transact-SQL)