0% found this document useful (0 votes)
2 views5 pages

Difference between Structured Query Language (SQL) and Transact-SQL (T-SQL)

This document outlines the differences between Structured Query Language (SQL) and Transact-SQL (T-SQL). SQL is a non-procedural language used for defining and manipulating data, while T-SQL is a procedural extension of SQL developed by Microsoft for SQL Server, offering additional features like stored procedures and error handling. Key comparisons include their procedural nature, compatibility, syntax, and performance characteristics.

Uploaded by

plcprasad123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views5 pages

Difference between Structured Query Language (SQL) and Transact-SQL (T-SQL)

This document outlines the differences between Structured Query Language (SQL) and Transact-SQL (T-SQL). SQL is a non-procedural language used for defining and manipulating data, while T-SQL is a procedural extension of SQL developed by Microsoft for SQL Server, offering additional features like stored procedures and error handling. Key comparisons include their procedural nature, compatibility, syntax, and performance characteristics.

Uploaded by

plcprasad123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Databases SQL MySQL PostgreSQL PL/SQL MongoDB SQL Cheat Sheet SQL Interview

Difference between Structured Query Language


(SQL) and Transact-SQL (T-SQL)
Last Updated : 16 May, 2023

Structured Query Language (SQL): Structured Query Language (SQL)


has a specific design motive for defining, accessing and changement
of data. It is considered as non-procedural, In that case the important
elements and its results are first specified without taking care of the
how they are computed. It is implemented over the database which is
driven by a database engine. The primary work of the database engine
is to interpret SQL queries and find the accessing technique for getting
different data structures in the database. This is also an important
feature of the data engine so used to evaluate the accuracy and
efficiency of the outcomes. Here are few groups of commands
included in the SQL – DDL (Data Definition Language) and DML (Data
Manipulation Language). DDL is used for describing and modification
of several data structures. While DML is intended to access and change
of the data save within the data structures defined by DDL.

Transact-SQL (T-SQL): Transact-SQL (T-SQL) is an extension of SQL. It


is considered as procedural language, unlike SQL that is used by SQL
server. It is helpful in doing operations like getting the data from a
single row, addition of new rows, getting multiple rows. The syntax is
different from others like PL-SQL. However, it has the same
functionality and generates similar results as other languages. This is
the Microsoft implementation of the structured query language for SQL
server.

Difference Between Structured Query Language (SQL) and Transact-


SQL (T-SQL):

Open In App
S.No. Comparison SQL T-SQL

It is a Non-
1. Basic It is a Procedural.
procedural.

Data manipulation Procedural


Functions and controlling programming functions
2.
provided functions are and local variable are
provided provided

It is an Open
3. Feature It is a Proprietary
language

Submission of
4. One after another Bulk submission.
Query

All the features of SQL


Several DDL, DML
Special along with transaction
5. and other operation
Features control, error and
are provided
exception handling.

It is a base It is derived from SQL


6. Derived programming and enhanced form of
language. SQL.

Open In App
S.No. Comparison SQL T-SQL

Developed by ANSI Developed by Microsoft


7. Development and ISO as a for use with SQL Server
standard language

Includes additional
Basic functionality features such as stored
8. Functionality for managing procedures, triggers, and
relational databases user-defined functions

Compatible with
Specifically designed for
most relational
use with Microsoft SQL
9. Compatibility database
Server
management
systems

Syntax includes
Microsoft-specific
10. Syntax Standardized syntax extensions and
additions

Optimized for use with


May be slower in SQL Server and may
11. Performance performance for perform better in some
some queries cases

Get IBM Certification and a 90% fee refund on completing 90%


course in 90 days! Take the Three 90 Challenge today.

Master Data Analysis using Excel, SQL, Python & PowerBI with this
complete program and also get a 90% refund. What more motivation
do you need? Start the challenge right away!
Open In App
Comment More info Next Article
What is the Difference Between
Advertise with us
LINQ to SQL and LINQ to Objects

Similar Reads

Difference between Structured, Semi-structured and…


Big Data includes huge volume, high velocity, and extensible variety of
data. There are 3 types: Structured data, Semi-structured data, and…

2 min read

Features of Structured Query Language (SQL)


Here are some key features of Structured Query Language (SQL): Data
Definition Language (DDL): SQL provides a set of commands to define…

4 min read

Difference between Structured Programming and Object Orient…


1. Structured Programming :Structured Programming, as name suggests,
is a technique that is considered as precursor to OOP and usually…

3 min read

Difference between Structured and Object-Oriented Analysis


Structured and Object-Oriented Analysis are two distinct methodologies
for software development. Structured Analysis focuses on processes an…

8 min read

Difference between structured and unstructured programming


Structured Programming Structured Programming is a type of
programming that generally converts large or complex programs into…

3 min read

Open In App
SQL Query to Add Email Validation Using Only One Query
In this article let us see how can we check for the validation of mails in
the student database using MSSQL as the database server. For example…

2 min read

Difference Between Assembly Language And Machine Language


Assembly language and machine language are both low-level languages
that are intended for direct manipulation of the hardware but assembly…

4 min read

Difference Between C Language and LISP Language


C Language: C is the procedural Programming language. It was designed
to be compiled using a compiler. The Language has small and fixed…

2 min read

Difference between assembly language and high level language


Programming Language is categorized into assembly language and high-
level language. Assembly-level language is a low-level language that is…

2 min read

Difference Between Machine Language and Assembly Language


Machine language is the low level programming language. Machine
language can only be represented by 0s and 1s. In earlier when we have…

2 min read

Corporate & Communications


Address:
A-143, 7th Floor, Sovereign Corporate
Tower, Sector- 136, Noida, Uttar
Pradesh (201305)
Open In App

You might also like