what is sql and plsql
Answers were Sorted based on User's Feedback
Answer / madhuri
sql is a structured query language which executes one sql
statement at a time where as pl/sql is a programming
language which embedd set of sql statements as a block and
executes it.Main advantage of pl/sql over sql is,we can use
control structures,cursors,subprograms and exception
handling in this case.
| Is This Answer Correct ? | 14 Yes | 1 No |
sql is the structure query language and plsql is the
programming structure query language which through we
create the program in oracle and all the program excute in
the oracle.
sql simply crate,delete,update the query
plsql programming can also do.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / anil kumar jampana
one more advantage with pl/sql over sql is network traffic.
pl/sql reduces network traffic. bz, here we embeding all
sql statements together....
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / rajesh.k
sql is a structure query language,in which we are retriving
the data through statements from the database,it cannot be
used for later application,,,
pl/sql is a programming language it has the
declare
variables;
begin
sql smts;
exceptions
end;
in plsql thru stored programs like proc,func we can use for
later applications,,
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / k.srikanth
SQL IS A STRUCTURE QUERY LANGUAGE
PL/SQL IS A PROCEDURE LANGUAGE.
SQL USED FOR AN DDL,DML,ALL STAMENTS.PL/SQL USED FOR AN ALL
SQL STATMENTS USED AND CURSORS.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anjali
Sql is a standalone set of commands. Pl sql is procedural extension to sql where we embed sql statements inside pl sql block so that we can achieve re-usability of code .
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the difference between join and union? : Sql dba
What is record type in pl sql?
when is the use of update_statistics command? : Sql dba
How to Execute a Package in PL/SQL.?
What are sql data types?
Hi Guys, I have a situation where I need to access the column values from rowtype variable. However, the column names are dynamic. below is sample code: declare Cursor c1 is select * from emp; Cursor c2 is select column_name from xyztable; v_c2 c2%rowtype; v_str varchar2 v_value varchar2(200); begin for rec in c1 loop open c2;---this cursor has column names like EMPLOYEE_ID, FIRST_NAME, LAST_NAME etc. loop fetch c2 into v_c2; exit when c2%notfound; /* now lets say i want to access value of LAST_NAME from cursor c1, so I am writing below code, however it does not work as expected */ v_str:= 'rec.'|| v_c2.column_name; -- this will give me string like "rec.EMPLOYEE_ID" v_value:=v_str; end loop; end loop; end; / Plz help ASAP.Thanks.
What is execute immediate?
Table Student has 3 columns,Student_id,Student_Name & Course_Id. Table Course has 2 columns, Course_Id & Course_Name.Write a query to listdown all the Courses and number of student in each course.
What is integrity in sql?
I have done oracle 10g. I need a project knowledge. So if u please send a project how it should be done,Or you can send email link. I will be very grateful to u.
Why use subqueries instead of joins?
What does pl sql stand for?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)