Udostępnij za pośrednictwem


sp_invalidate_textptr (Transact-SQL)

Invalidates the specified in-row text pointer, or all in-row text pointers, in the transaction.sp_invalidate_textptr can be used only on in-row text pointers.Te wskaźniki są z tabel, które tworzą tekst w wierszu opcję włączony.

Topic link iconKonwencje składni języka Transact-SQL

sp_invalidate_textptr [ [ @TextPtrValue = ] textptr_value ]

Argumenty

  • [ @TextPtrValue= ] textptr_value
    Is the in-row text pointer that to be invalidated.textptr_value is varbinary(16), with a default of NULL.Jeśli wartością tą jest NULL, sp_invalidate_textptr unieważnia wszystkie wskaźniki w wiersz tekstu w transakcji.

Wartości kodów powrotnych

0 (sukces) lub 1 (brak)

Remarks

SQL Server allows for a maximum of 1,024 active valid in-row text pointers per transaction per database; however, a transaction spanning more than one database can have 1,024 in-row text pointers in each database.sp_invalidate_textptr can be used to invalidate in-row text pointers and, therefore, free space for additional in-row text pointers.

Aby uzyskać więcej informacji dotyczących tekstu w wierszu opcji zobacz sp_tableoption (Transact-SQL).

Uprawnienia

Członkostwo w grupie wymaga publiczne roli.