T-SQL, short for Transact-SQL, is a set of programming extensions for Sybase and Microsoft that actsas an extension to Structured Query Language (SQL,allowing the companies to interact with relational databases.
T-SQL is regarded as an extension of SQL since it comes with additional features such as; procedural programming, local variables/error handling and data processing.
The procedural programming extension enables users to understand a series of computational steps that will be carried out.
Local Variables are essential for tracking any unknown quantities that need to be assessed, and are an important expansion that T-SQL provides.