T-SQL Reference
SQL Server Transact-SQL language reference covering statements, queries, data types, operators, functions, hints, predicates, transactions, and language elements. — Page 3 of 6.
value to a string value. This
No description available.
No description available.
Removes the specified availability group and all of its replicas.
No description available.
No description available.
Syntax for Azure Synapse Analytics, Analytics Platform System (PDW), and Microsoft Fabric:
Returns information about login policy settings.
No description available.
No description available.
No description available.
option causes the transaction name to be recorded in the transaction log. When
No description available.
Returns the lowest active rowversion value in the current database.
DBCC CHECKCONSTRAINTS
No description available.
) constants are represented by a string of numbers that aren't enclosed in quotation
Attribute (Short Name)
No description available.
No description available.
T-SQL reference covering national character varying.
DROP SYNONYM (Transact-SQL)
of every table and indexed view in the filegroup.
No description available.
A column-level CHECK constraint can reference only the constrained column, and a table-
No description available.
No description available.
No description available.
No description available.
Dropping a clustered index requires temporary disk space that's equal to the size of the existing
No description available.
No description available.
No description available.
No description available.
SQL) CONNECTION_OPTIONS
No description available.
No description available.
2016 (13.x) and later versions
2016 (13.x) and later versions
No description available.
The whole operation is atomic.
sorting and a temporary copy of the original table or existing clustered index data.
A computation.
Here's the result set.
No description available.
exceeds the value configured with Resource Governor, the Database Engine uses the Resource
Beginning with SQL Server 2017 (14.x),
No description available.
Returns a data type name by ID.
SET ROWCOUNT stops processing after the specified number of rows. In the following
No description available.
No description available.
float float bit Input type Return type float real float decimal( p , s ) decimal(38, s )...
numeric decimal varchar char nvarchar nchar binary varbinary image int int char varchar binary varbinary nchar nvarchar decimal...
No description available.
For a list of features supported by the editions of SQL Server on Windows, see:
statement that creates the temp table. For example, if a stored procedure creates a temporary
Returns a user-defined message to the client application.
Sometimes an internal database snapshot isn't required or can't be created. When this occurs,
CTE query definitions are considered anchor members unless they reference the CTE
No description available.
When the WAITFOR clause is specified, the statement waits for the specified time out, or until a
for parallelism depending on the subtree cost.
Input type Return type float real float decimal( p , s ) decimal(38, s ) int smallint tinyint...
2025 (17.x)
@@TRANCOUNT (Transact-SQL)
The following example creates a server audit called
No description available.
No description available.
No description available.
For a CLR trigger, specifies the method of an assembly to bind with the trigger. The method
statement that modifies a table with any index in an offline filegroup
On multiprocessor computers, just like other queries do,
T-SQL reference covering GeometryCollection.
No description available.
No description available.
Note the following from the previous query:
No description available.
No description available.
detects a corruption error.
are runtime constants. In contrast, the functions
No description available.
No description available.
If the stored procedure contains a
specifies the directory on the local SQL Server instance where the ONNX
The vector used for search.
Returns the number of passwords tracked for the login, using the password-
Restoring over a database using the full or bulk-logged recovery model where a tail-log
= timestamp (time + date)
No description available.
rowversion rowversion datetime2 rowversion rowversion rowversion rowversion rowversion rowversion rowversion timestamp rowversion rowversion timestamp timestamp timestamp
Configuration functions are scalar functions that return information about current
The full syntax of the REVOKE statement is complex. The syntax diagram above was simplified
principal must exist even when the user is accessing the database or instance of SQL Server
No description available.
No description available.
Specifies a principal from which the principal executing this query derives its right to revoke
A Service Broker message type is a database-level securable that is contained by the database
No description available.
Data Manipulation Language (DML) affect the information stored in the database.