What is pragma restrict_reference in oracle 9i?When we use
this?Give me one realtime scenario?
Answer Posted / bhaskar gouda
First of all ,it is a compiler directive,This is introduced
to avoid the side affect of the function in a package .it
comes in 4 flavors.RNDS,WNDS,RNPS,WNPS.
each out of the above 4 can be implemented against the
packaged function.
If you want the function not to alter the contents of any
database table than you can use WNDS.similarly if you want
the function not to read the contents of any database table
you can use RNDS.If you want the function not to alter any
variables within another package than you can use WNPS.If
you want the packaged function not to read the variables
within another package than you can use RNPS.
Thanks-Bhaskar Gouda
| Is This Answer Correct ? | 35 Yes | 2 No |
Post New Answer View All Answers
What are the differences between char and nchar in oracle?
What is oracle instant client?
How to rename an index in oracle?
Explain the use of show option in imp command.
What is the max number of columns in an oracle table?
How to create tables for odbc connection testing?
How to load a large xml file?
What is a connect identifier?
What happens if the imported table already exists?
What do database buffers contain?
How to delete a column in an existing table?
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
What is sequence?
what is the use of triggers in Java program? I mean where do we use triggers in Java programming?
What is the data type of dual table?