T-SQL is a procedural language used by Microsoft’s SQL Server. This version of SQL has declared variables, transaction control, error and exception management, and row processing. The syntax of T-SQL differs from that of PL-SQL.