IT lexicon › Programming › T-SQL

T-SQL

Programming På svenska → Updated: 2026-11-10

Microsoft's procedural language for SQL Server that extends standard SQL with control flow and local variables.

T-SQL was developed in the 1990s to let SQL Server developers write more advanced database code than standard SQL allows. It permits variables, loops, conditionals, and transaction control within the same procedures that manipulate data.

The language resembles Oracle's PL/SQL but is not portable across databases. It clearly draws inspiration from earlier procedural languages like PL/1 and Pascal, and has become popular for batch jobs and complex business logic in Windows organizations.

← Back to the lexicon