What is the difference between SQL, PL-SQL and T-SQL?
Can anyone explain what the difference between these three are and a scenario where each would be relevantly used?
What is the difference between SQL, PL-SQL and T-SQL?
Can anyone explain what the difference between these three are and a scenario where each would be relevantly used?
SQL
is a query language to operate on sets.
It is more or less standartized, and used by almost all relational database management systems: SQL Server
, Oracle
, MySQL
, PostgreSQL
, DB2
, Informix
, etc.
PL/SQL
is a proprietary procedural language used by Oracle
TSQL
is a proprietary procedural language used by Microsoft
in SQL Server
.Procedural languages are designed to extend the SQL
's abilities while being able to integrate well with SQL
.
They are used to write stored procedures
: pieces of code residing on the server to manage complex business rules that are hard or impossible to manage with pure set-based operations.
The query language that Microsoft SQL Server uses is a variant of the ANSI-standard Structured Query Language, SQL. The SQL Server variant is called Transact-SQL.
please
can u write cursor , procedures,package program microsoft sql server
plese in form me