tsql - What is the difference between SQL, PL-SQL and T-SQL? -


What is the difference between SQL, PL-SQL and T-SQL?

Can anyone say that there are differences between these three, and provide scenarios where each is used appropriately?

  • to work on SQL The query language is.

    This is more or less standardized, and is used by almost all relational database management systems: SQL Server, Oracle, MySQL, PostgreSQL, DB2, Informix, etc.

  • PL / SQL is a proprietary language used by Oracle

  • is a procedural language used by TSQL

    Microsoft in SQL Server.

Procedural languages ​​are designed to increase the capabilities of SQL, while being able to integrate well with SQL. Many features like local variables and string / data processing have been added. With these facilities, language turing-is complete.

They are also used to write stored procedures: To manage complex business rules, pieces of code on the server that are difficult or impossible to manage pure set-based operations.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -