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
Is a rollback possible to any savepoint?
How to commit the current transaction in oracle?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
What is a procedure in oracle?
In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?
Explain a private synonyms?
What is the difference between PFILE and SPFILE in Oracle?
Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?
how can we store any pdf file in oracle
How oracle handles dead locks?
How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?
How do you tell what your machine name is and what is its IP address?
How to resolve the ORA-39133 error in Oracle?
What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?
What is a subquery?