0% found this document useful (0 votes)
42 views1 page

NOCOPY: Is A Compiles Hint That Can Be Used With OUT and IN OUT Parameter To

NOCOPY is a compile hint that allows OUT and IN OUT parameters to be passed by reference, enhancing performance. The document lists seven advantages of stored functions and procedures, including modularization, easy maintenance, improved data security, and performance. Additionally, it highlights benefits such as reduced database calls and increased code clarity.

Uploaded by

PSW1983
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

NOCOPY: Is A Compiles Hint That Can Be Used With OUT and IN OUT Parameter To

NOCOPY is a compile hint that allows OUT and IN OUT parameters to be passed by reference, enhancing performance. The document lists seven advantages of stored functions and procedures, including modularization, easy maintenance, improved data security, and performance. Additionally, it highlights benefits such as reduced database calls and increased code clarity.

Uploaded by

PSW1983
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. What is NOCOPY?

***

By default the IN parameter is passed by reference and the OUT and IN OUT parameters
are passed by value.
NOCOPY : is a compiles hint that can be used with OUT and IN OUT parameter to
request to pass by reference. This improves the performance with OUT and INOUT
parameters.
7 Advantages of stored functions and procedures
* Applications can be modularized.
* Easy maintenance.
- Routines can be modified online without interfering other users.
- One routine can be modified to effect multiple applications.
* Improved data security and integrity.
- Indirect access to database objects can be controlled from non privileged users with
security privileges.
* Improved performance.
- Reparsing for multiple users can be avoided by exploiting the shared SQL area.
- PL/SQL parsing at run-time can be avoided by pursing at compile time.
- Number of calls to the database can be reduced and network traffic decreased by
bundling commands.
* Improved code clarity.
- The clarity of code increases by using appropriate identifier names to describe the
action of the routines which reduces the need for comments.

You might also like