Re: Pragma
From: Thierry Thomas <tthomas_at_mail.dotcom.fr>
Date: Mon, 26 Apr 1999 17:15:34 +0200
Message-ID: <37248315.228E05E9_at_mail.dotcom.fr>
Date: Mon, 26 Apr 1999 17:15:34 +0200
Message-ID: <37248315.228E05E9_at_mail.dotcom.fr>
Sunder wrote:
>
> Can anybody tell about the options available for PRAGMA in PL/SQL.
> Where can I find information about PRAGMA.
>
You can find this info from "PL/SQL Programming Language Quick Reference"
- Calling Stored Functions from SQL PRAGMA RESTRICT_REFERENCES ( function_name, WNDS [, WNPS] [, RNDS] [, RNPS]);
where:
WNDS means "writes no database state" (does not modify
database tables).
WNPS means "writes no package state" (does not change the
values of packaged variables).
RNDS means "reads no database state" (does not query database
tables).
RNPS means "reads no package state" (does not reference the
values of packaged variables).
2) EXCEPTION_INIT Pragma
PRAGMA EXCEPTION_INIT(exception_name, Oracle_error_number);
-- Th. Thomas, ICQ : 8823153 altern.org en difficultés : http://altern.org/defenseReceived on Mon Apr 26 1999 - 17:15:34 CEST