Systemfunktionen (Transact-SQL)

Die folgenden Funktionen führen Vorgänge mit Werten, Objekten und Einstellungen in SQL Server 2005 aus und geben Informationen über diese zurück.

In der folgenden Tabelle werden die Transact-SQL-Systemfunktionen und ihre Determinismuseigenschaften aufgelistet. Weitere Informationen zum Funktionsdeterminismus finden Sie unter Deterministische und nicht deterministische Funktionen.

Funktion Determinismus

APP_NAME

Nicht deterministisch

CASE-Ausdruck

Deterministisch

CAST und CONVERT

Deterministisch, wenn nicht mit datetime, smalldatetime oder sql_variant verwendet.

COALESCE

Deterministisch

COLLATIONPROPERTY

Nicht deterministisch

COLUMNS_UPDATED

Nicht deterministisch

CURRENT_TIMESTAMP

Nicht deterministisch

CURRENT_USER

Nicht deterministisch

DATALENGTH

Deterministisch

@@ERROR

Nicht deterministisch

ERROR_LINE

Nicht deterministisch

ERROR_MESSAGE

Nicht deterministisch

ERROR_NUMBER

Nicht deterministisch

ERROR_PROCEDURE

Nicht deterministisch

ERROR_SEVERITY

Nicht deterministisch

ERROR_STATE (Transact-SQL)

Nicht deterministisch

fn_helpcollations

Deterministisch

fn_servershareddrives

Nicht deterministisch

fn_virtualfilestats

Nicht deterministisch

FORMATMESSAGE

Nicht deterministisch

GETANSINULL

Nicht deterministisch

HOST_ID

Nicht deterministisch

HOST_NAME

Nicht deterministisch

IDENT_CURRENT

Nicht deterministisch

IDENT_INCR

Nicht deterministisch

IDENT_SEED

Nicht deterministisch

@@IDENTITY

Nicht deterministisch

IDENTITY (Funktion)

Nicht deterministisch

ISDATE

Nicht deterministisch

ISNULL

Deterministisch

ISNUMERIC

Deterministisch

NEWID

Nicht deterministisch

NULLIF

Deterministisch

PARSENAME

Deterministisch

ORIGINAL_LOGIN

Nicht deterministisch

@@ROWCOUNT

Nicht deterministisch

ROWCOUNT_BIG

Nicht deterministisch

SCOPE_IDENTITY

Nicht deterministisch

SERVERPROPERTY

Nicht deterministisch

SESSIONPROPERTY

Nicht deterministisch

SESSION_USER

Nicht deterministisch

STATS_DATE

Nicht deterministisch

sys.dm_db_index_physical_stats

Nicht deterministisch

SYSTEM_USER

Nicht deterministisch

@@TRANCOUNT

Nicht deterministisch

UPDATE()

Nicht deterministisch

USER_NAME

Nicht deterministisch

XACT_STATE

Nicht deterministisch

Siehe auch

Verweis

Funktionen (Transact-SQL)

Hilfe und Informationen

Informationsquellen für SQL Server 2005