what is the difrence between sql and pl/sql

Answer Posted / aditya

SQL Enter, Edit, Store & Retrieve by single command or
statement where as PL/SQL process all SQL statements one at
a time. With PL/SQL, an entire block of statements process
in a single command line.

SQL in a strucutred query language; where pl/sql is
procedures,function,variable,method all are present
1)SQL is executed one statement at a time. PL/SQL is
executed as a block of code.
2)SQL tells the database what to do (declarative), not how
to do it. In contrast, PL/SQL tell the database how to do
things (procedural).
3)SQL is used to code queries, DML and DDL statements.
PL/SQL is used to code program blocks, triggers, functions,
procedures and packages.
4)You can embed SQL in a PL/SQL program, but you cannot
embed PL/SQL within a SQL statement.
Actually this is the appropriate answer...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can mongodb replace mysql?

699


How to delete a column and add a new column to database

720


What is bdb (berkeleydb)?

704


How do I clear the command in mysql?

692


How to write optimized query in mysql?

734


What is database url for mysql?

649


What is the difference between truncate and delete in mysql?

797


What is localhost in mysql?

759


List the different types of normalization?

693


Is mysql free for commercial use?

644


How to use case expression?

711


What is the difference between timestamp and datetime in mysql?

747


What is a left join mysql?

660


What mysql means?

684


Why we use mongodb instead of mysql?

701