What is different bet native dynamic sql and Dbms_Sql?

Answer Posted / amrit paul-genpact

Normally we would write codes using Native Dynamic SQL(NDS).
This is because NDS heps writing clear, understandable code
where trouble shooting is apparently very easy.
However there might be situations when the input to a
EXECUTE IMMEDIATE code might use a SQL Text which is
greater than 32KB, thus over-ruling the max specified size
of PL/SQL VARCHAR2 limits. This is a clear situation where
we could use the DBMS_SQL package.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the different types of rollback segments.

581


How to pass a parameter to a cursor in oracle?

597


What is the best way to do multi-row insert in oracle?

563


normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi

1744


what is difference between sql plus and sql*plus? (not sql and sql plus).

3349






How a tablespace is related to data files?

583


What are the attributes of cursor?

589


Explain view?

577


how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?

1829


Can sub procedure/function be called recursively?

541


What is a cursor in oracle?

652


How to create an oracle testing table?

591


Explain about achiever in sql?

584


What is transaction control statement and how many types of transaction control statement in Oracle?

565


What happens in oracle commit?

572