In this post I will share to you the basic difference between SQL and PL/SQL.
SQL is a Structured Query Language while PL/SQL is a Procedural Language/Structured Query Language and also we can say that PL/SQL stands for Procedural language extensions of SQL.
Let's Start Today Topic.
- What is SQL?
- What is PL/SQL?
- Difference Between SQL and PL/SQL
What is SQL?
- SQL is a Structured Query Language, which is a query language.It is used to operate the database in different ways.
- SQL is a basic language, through which all databases can easily access by command.
- SQL is a good standard language for operating the relational database management system.
What is PL/SQL?
- PL/SQL is a programming language.
- PL/SQL stands for Procedural language extensions of SQL.
- PL/SQL use set of command like if-else, for loop, Array and Variables.
Basic Difference Between SQL and PL/SQL in Oracle
- In SQL, we can execute only one query at a time while PL/SQL can execute multiple select statements.
- In SQL query not saved in the database while PL/SQL objects stored in the database like functions, procedures.
- SQL doesn't support Looping and conditional statements while PL/SQL supports looping and conditional statements.
- SQL always give system error users cannot understand these system errors while PL/SQL we can convert these system errors into a user-friendly error using EXception Handling.
- SQL doesn't support code reusability while PL/SQL supports code reusability.
If you like the difference between SQL and PL/SQL post then please share your valuable comments in the comment box and share this post with yours friends.
0 Comments
If you have any doubts, Please let me know