Skip to main content Skip to Ask Learn chat experience

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English

Note

Access to this page requires authorization. You can try signing in or changing directories.

Access to this page requires authorization. You can try changing directories.

In this article

System Functions (Transact-SQL)

The following functions perform operations on and return information about values, objects, and settings in SQL Server.

$PARTITION

ERROR_PROCEDURE

@@ERROR

ERROR_SEVERITY

@@IDENTITY

ERROR_STATE

@@PACK_RECEIVED

FORMATMESSAGE

@@ROWCOUNT

GETANSINULL

@@TRANCOUNT

GET_FILESTREAM_TRANSACTION_CONTEXT

BINARY_CHECKSUM

HOST_ID

CAST and CONVERT

HOST_NAME

CHECKSUM

ISNULL

CONNECTIONPROPERTY

ISNUMERIC

CONTEXT_INFO

MIN_ACTIVE_ROWVERSION

CURRENT_REQUEST_ID

NEWID

ERROR_LINE

NEWSEQUENTIALID

ERROR_MESSAGE

PathName

ERROR_NUMBER

XACT_STATE

See Also

Reference

Built-in Functions (Transact-SQL)


Additional resources


  • Last updated on 2012-10-04

In this article

en-us
Your Privacy Choices
  • AI Disclaimer
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Consumer Health Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2026