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 insert autocommit in oracle?
How to run create database statement?
can u plz provide me oca sql dumps please i need them
For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?
A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.
What are advantages of dateset in datastage?
What is BBED in Oracle?
How to define an oracle cursor variable?
What happens to indexes if you drop a table?
What is oracle host variable?
What are the different pseudo commands? Explain in general?
What are data pump export and import modes?
How to connect to the server with user account: sys?
22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?