What is different bet native dynamic sql and Dbms_Sql?
Answer Posted / thirupathi.l
using native dynamic sql we can directly use DML and DDL
statements.
ex:native dynamic sql
declare
a varchar2(1000);
begin
a:='create table <tname>(elements)
execute immediate a;
end;
where as in dbms_sql package also we can use dml and DDL
but here declare cursor
coding is so lenthy
thats why currently using native dynamic sql
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Can a parameter be passed to a cursor?
How to create an initialization parameter file?
How to loop through data rows in the implicit cursor?
Give the constructs of a package, function or a procedure.
How to create a new table in oracle?
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
ur a sql devoloper...what is the process in ur company for finding the database BUGS .. seperate DB testers are there? or devr.s are manage? if DB TESTERS in there what is the process
What are advantages of dateset in datastage?
How a database is related to tablespaces?
What are the benefits of ordbms?
How much memory your 10g xe server is using?
What is a relational database management system?
i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)
How to invoke the data pump export utility?
What are joins, explain all types of joins?