What is the difference between sql/pl-sql/embeded sql?

Answer Posted / madhuri

SQL is a structured query language used for various
operations such as retrieval,manipulation of data using
DML,DDL statements.

PL/SQL is programming language used to write various sql
statements together.Advantage of pl/sql over sql is,you can
write many sql statements within a pl/sql block.One more
advantage is subprogramming like procedures and functions.
We can write cursors for fetching number of records at a time.
And also packages and triggers.

Embedded sql are those statements which are written in host
programs like pro*c,java etc.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to process query result in pl/sql?

558


How to display the records between two range in Oracle SQL Plus?

636


How many types of cursors are available in pl/sql?

582


What is difference between db2 and sql?

528


What is trigger and types?

561






Is it possible to remove child records without removing master table records...the two having pk,fk relationship?

804


Why do we use set serveroutput on?

514


How can triggers be used for the table auditing?

592


Explain locks? : Transact sql

568


What is crud sql?

537


What is scalar function?

564


Does mysql support pl sql?

620


How do temporal tables work?

514


How do you concatenate in sql?

548


What does pl sql stand for?

651