Search notes:

SQL Server - T-SQL / statements

alter database …
bulk insert to insert CSV data into a table.
dbcc … are the database console commands.
declare is needed to declare variables or declare is needed to declare variables or cursors.
execute
if to conditionally execute statements depending on a boolean expression.
kill terminates processes.
reconfigure, apparently needed sometimes after executing sp_configure.
set to assign values to variables or to set boolean-like session options.
Wait (sleep) for a given amount of time with waitfor delay.
Report exceptions with the throw statement.
while to iterate over a block of statements until a certain condition becomes false.

Processing modes

The SQL Server Database Engine processes transact-SQL statements in one of two possible processing modes:

See also

T-SQL

Index