SQL (Structured Query Language) և T-SQL (Transact-SQL) միջև տարբերությունը:
SQL
SQL, Structured Query Language-ը ոչ ընթացակարգային լեզու է և օգտագործվում է տվյալների բազայի շարժիչների կողմից՝ մեկնաբանելու SQL հարցումները՝ տվյալների բազայի տարրեր ստեղծելու/փոփոխելու/մատչելու համար:
T-SQL
T-SQL, Transact-SQL, SQL-ի ընթացակարգային ընդլայնում է, որն օգտագործվում է SQL Server-ի կողմից: Այն նման է Oracle-ի PL/SQL-ին:
Հետևյալը կարևոր տարբերություն է SQL-ի և T-SQL-ի միջև:
Sr. No. | Key | SQL | T-SQL |
---|---|---|---|
1 | Type | SQL is non-procedural by nature. | T-SQL is procedural by natue. |
2 | Methods | SQL provides data manipulation and controlling functions. | With T-SQL, we can write own procedures, functions with local variables. |
3 | Proprietary | SQL is open to use and is common across RDBMS softwares. | T-SQL is specific to SQL Server and is proprietary. |
4 | Query order | Multiple querires are submitted one by one. | Using T-SQL, multiple queries can be submitted in batches. |
5 | Features | DDL, DML, DQL operations are provided. | Apart from SQL features, transaction controls, exception handlings etc. are provided. |