what is the difrence between sql and pl/sql

Answer Posted / dinesh joshi

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.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a cursor? : Mysql dba

490


How do I install mysql on windows 10 64 bit?

475


What is mysql community edition?

522


How do I copy a table in mysql workbench?

460


Is foreign key indexed mysql?

474






Write a query to fetch common records between two tables using mysql?

549


What is memory table in mysql?

505


How do I install mysql workbench?

487


How to use count function in mysql?

485


What is pdo connection?

478


What are the two types of queries?

453


How to delete a trigger in mysql?

497


How many mysql connections can handle?

492


How you will Show unique records.

550


What is the difference between having and where clause in mysql? Explain

546