---
title: "What is the difference between SQL and PL/SQL?"  
description: "What is the difference between SQL and PL/SQL?"  
author: "Manish Kumar"  
published: 2017-05-28  
updated: 2020-09-20  
canonical: https://www.mindstick.com/interview/23256/what-is-the-difference-between-sql-and-pl-sql  
category: "mssql server"  
tags: ["database", "sql server"]  
reading_time: 2 minutes  

---

# What is the difference between SQL and PL/SQL?

\

Sql-

In Sql it is referred as Structured Query Language.

In sql Only simple IF / Else statements.

Using SQL you can interact with database through ADO.NET

SQL can execute a line of code

It can run only on windows

\

PL/SQL-

It is referred as Procedure Language / Structure Query Language:

In this you can execute a block of code not a single line of code.

Deep control statements

PL/Sql can run in UNIX also.

PL/SQL language includes object oriented programming techniques such as encapsulation, function overloading, and information hiding (all but inheritance).

## Answers

### Answer by Manish Kumar

\

Sql-

In Sql it is referred as Structured Query Language.

In sql Only simple IF / Else statements.

Using SQL you can interact with database through ADO.NET

SQL can execute a line of code

It can run only on windows

\

PL/SQL-

It is referred as Procedure Language / Structure Query Language:

In this you can execute a block of code not a single line of code.

Deep control statements

PL/Sql can run in UNIX also.

PL/SQL language includes object oriented programming techniques such as encapsulation, function overloading, and information hiding (all but inheritance).


---

Original Source: https://www.mindstick.com/interview/23256/what-is-the-difference-between-sql-and-pl-sql

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
