Partilhar via


@@TEXTSIZE (Transact-SQL)

Aplica-se a:SQL ServerAzure SQL DatabaseAzure SQL Managed InstanceBase de dados SQL no Microsoft Fabric

Devolve o valor atual da opção TEXTSIZE .

Transact-SQL convenções de sintaxe

Sintaxe

@@TEXTSIZE  

Tipos de devolução

integer

Examples

O exemplo seguinte serve SELECT para mostrar o @@TEXTSIZE valor antes e depois de ser alterado com a SET``TEXTSIZE instrução.

-- 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'  

Aqui está o conjunto de resultados.

Text Size
-----------
4096
Text Size
-----------
2048

Ver também

Funções de configuração (Transact-SQL)
DEFINIR TEXTSIZE (Transact-SQL)