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 definer in mysql trigger?

490


What is back end and front end?

457


How to find second highest salary from a table?

534


What causes mysql too many connections?

471


What is mysql slow query?

514






How do I change directories in mysql?

470


Describe mysql transaction properties.

514


Why do we use preparedstatement?

478


What ascii 31?

507


Can python connect to mysql?

471


What is datadir?

470


What is mysql primary key?

514


What are the indexes in mysql?

493


how to show all records starting with the letters 'sonia' and the phone number '9876543210' limit to records 1 through 5.

506


Where MyISAM table will be stored and also give their formats of storage?

608