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

How many ways to get the current time?

510


Can not connect to mysql server 10060?

502


How do I enable mysqli extension?

497


How to get a list of indexes of an existing table?

531


How to escape special characters in sql statements?

527






What is data types in mysql?

483


Hi Team, This is kartik, I recently completed my B-tech. Importance of posting this question is for to know the best books on SQL(MYSQL/Oracle)? I like SQL concept's so much, at the same time i decided to choose SQL for my career purpose. So please suggest me the best books that are very helpful for a fresher to improve concepts like (SQL/PLSQL)Basics, programming concepts, architectures etc. Please consider my request as an important one. I am very thankful to you for providing this opportunity. If possible can you please send the names of books for my personal id also: karthikgdv1206@yahoo.com. Thanks, Kartik T

1745


How do I start mysql server?

471


what is database black box testing? : Mysql dba

588


How do I copy a table in mysql?

488


What is mysql and how it works?

462


List data types in mysql? Explain

476


What is a csv table?

545


How do I download mysql on my laptop?

486


What is mysql and why it is used?

562