@@TEXTSIZE (Transact-SQL)
Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance
Returns the current value of the TEXTSIZE option.
Transact-SQL syntax conventions
Syntax
@@TEXTSIZE
Note
To view Transact-SQL syntax for SQL Server 2014 (12.x) and earlier versions, see Previous versions documentation.
Return Types
integer
Examples
The following example uses SELECT
to display the @@TEXTSIZE
value before and after it is changed with the SET``TEXTSIZE
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
See Also
Configuration Functions (Transact-SQL)
SET TEXTSIZE (Transact-SQL)
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru