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

What are sql*plus environment variables?

773


Can a table have no primary key?

776


Which certification is best for sql?

725


how to use regular expression in pattern match conditions? : Sql dba

732


What is the use of double ampersand (&&) in sql queries? Give an example

814






What port does sql server use?

713


How does one use sql*loader to load images, sound clips and documents? : aql loader

886


Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?

840


How you improve the performance of sql*loader? : aql loader

754


what is csv? : Sql dba

760


Explain sql data types?

830


How to fetch alternate records from a table?

871


what are the differences among rownum, rank and dense_rank? : Sql dba

747


How can triggers be used for the table auditing?

755


Write an sql query to select all records from the table?

754