Transact-SQL

Definition & Meaning

Last updated 23 month ago

What is Transact-SQL?

Transact-SQL (T-SQL) is Microsoft’s proprietary Model of ANSI SQL for its SQL Server Relational Database.

Structured Query Language (SQL) is the maximum broadly-used Relational Database question language, and its standardized model — designed by means of the American National Standards Institute (ANSI) — is referred to as ANSI SQL. However, most companies additionally implemented proprietary SQL variations with added capabilities.

What Does Transact-SQL Mean?

T-SQL absolutely helps ANSI SQL and augments the language with several Functions, e.G., Control-of-Flow language, neighborhood Variables and Upgrades to the UPDATE and DELETE Statements.

Examples of manipulate-of-waft language consist of the subsequent:

  • BEGIN and END Keywords to mark a Block of Transactions.
  • WAITFOR to await a positive occasion or time of day to run a transaction.
  • RETURN to right away go back from a saved technique or function.

T-SQL is important to SQL Server due to the fact every SQL Server Database motion really sends the database a sequence of T-SQL statements. PerFormed actions are first translated into T-SQL statements, even if the usage of the graphical Interface.

T-SQL statements may be run within the most important Access tool for SQL Server and SQL Server Management Studio (SSMS), or in sqlcmd, the dedicated Command-line Device. This operation is similar to how the MS-DOS surroundings is used for walking Windows OS instructions.

Share Transact-SQL article on social networks

Your Score to Transact-SQL article

Score: 5 out of 5 (1 voters)

Be the first to comment on the Transact-SQL

9758- V4

tech-term.com© 2023 All rights reserved