Skip to content

Latest commit

 

History

History
47 lines (41 loc) · 2.39 KB

File metadata and controls

47 lines (41 loc) · 2.39 KB
title Configuration Functions (Transact-SQL) | Microsoft Docs
ms.custom
ms.date 07/24/2017
ms.prod sql
ms.prod_service database-engine, sql-database
ms.component t-sql|functions
ms.reviewer
ms.suite sql
ms.technology t-sql
ms.tgt_pltfrm
ms.topic language-reference
dev_langs
TSQL
helpviewer_keywords
functions [SQL Server], configuration
configuration options [SQL Server], functions
current configuration information
configuration functions [SQL Server]
ms.assetid 066f15e7-3406-437e-93c4-3f247c529169
caps.latest.revision 30
author edmacauley
ms.author edmaca
manager craigg

Configuration Functions (Transact-SQL)

[!INCLUDEtsql-appliesto-ss2008-asdb-xxxx-xxx-md]

These scalar functions return information about current configuration option settings:

@@DATEFIRST @@OPTIONS
@@DBTS @@REMSERVER
@@LANGID @@SERVERNAME
@@LANGUAGE @@SERVICENAME
@@LOCK_TIMEOUT @@SPID
@@MAX_CONNECTIONS @@TEXTSIZE
@@MAX_PRECISION @@VERSION
@@NESTLEVEL

All configuration functions operate in a nondeterministic way. In other words, these functions do not always return the same results every time they are called, even with the same set of input values. See Deterministic and Nondeterministic Functions for more information about function determinism.

See also

Functions (Transact-SQL)