Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is pragma restrict_reference in oracle 9i?When we use
this?Give me one realtime scenario?

Answers were Sorted based on User's Feedback



What is pragma restrict_reference in oracle 9i?When we use this?Give me one realtime scenario?..

Answer / 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

What is pragma restrict_reference in oracle 9i?When we use this?Give me one realtime scenario?..

Answer / shail

Obsolete in 10g and onwards. Oracle take care at its own.
The reply from Raphael Fernandes is misleading. This type
of misleading replies can cost a interview of a candidate.
Request all to not reply if you are not sure.

Is This Answer Correct ?    22 Yes 0 No

What is pragma restrict_reference in oracle 9i?When we use this?Give me one realtime scenario?..

Answer / m.nihar

The RESTRICT_REFERENCES pragma asserts that a user-defined subprogram does not read or write database tables or package variables.Subprograms that read or write database tables or package variables are difficult to optimize, because any invocation of the subprogram might produce different results or encounter errors.

Is This Answer Correct ?    0 Yes 0 No

What is pragma restrict_reference in oracle 9i?When we use this?Give me one realtime scenario?..

Answer / raphael fernandes

pragma restrict_reference is used to associate a user
defined exception to an oracle error. Whenever the
associated error occurs in the pl/sql code, the exception
is raised implicitly by Oracle.

Is This Answer Correct ?    3 Yes 65 No

Post New Answer

More Oracle General Interview Questions

3. Display all the client numbers in the ORDER table. Remove duplicates.

1 Answers   Wipro,


Difference between oracle's plus (+) notation and ansi join notation?

0 Answers  


How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.

0 Answers  


i want department wise maxmum salary and empolyee name

9 Answers  


4. Display the order number and client number from the ORDER table. Output the result in the format. Client <clientno> ordered <orderno>

1 Answers   Wipro,


How to assign values to variables?

0 Answers  


What is autonomous transaction?

6 Answers  


Explain what does a control file contain?

0 Answers  


What is the data type of dual table?

0 Answers  


What is a data lock in oracle?

0 Answers  


What are the Referential actions supported by FOREIGN KEY integrity constraint ?

1 Answers  


What exactly do quotation marks around the table name do?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)