473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Oracle PRAGMA

Could anybody tell me that how many types of ORACLE PRAGMAs are available for Oracle 10g and what are the uses of them?
Aug 18 '07 #1
4 6745
amitpatel66
2,367 Expert 2GB
Could anybody tell me that how many types of ORACLE PRAGMAs are available for Oracle 10g and what are the uses of them?
Some of them are:

1. PRAGMA AUTONOMOUS_TRANSACTION

This PRAGMA is used to make the particular transaction autonomous and independent of the outer transaction.

2. PRAGMA EXCEPTION_INIT

The EXCEPTION_INIT is used to create user defined exceptions
Aug 19 '07 #2
Good one ..

There are 5 type of PRAGMAS are there as of my knowledge..


they are

1.PRAGMA EXCEPTION_INIT(message,SQLCODE);---------->Exceptions

2.PRAGMA AUTONOMOUS TRANSACTION;-------->procedures

3.PRAGMA SERIALLY REUSABLE---->we use this in packages.

4.PRAGMA RESTRICT_REFERENCE------->Purity rules of Functions.

5.PRAGMA FLIP FLOPS
Aug 19 '07 #3
gintsp
36
Could anybody tell me that how many types of ORACLE PRAGMAs are available for Oracle 10g and what are the uses of them?
Searching documenation would be one of the first bet:

Gints Plivna

Aug 19 '07 #4
debasisdas
8,127 Expert 4TB
Please find the details of pragma here and here
Aug 20 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Jeff Lambert | last post by:
We have a Windows client application written in delphi that connects to Oracle 8i w/ ADO. We accumulate a lot of SQL statements in a loop and finally send the strings list to be executed. What I...
6
by: Shri | last post by:
Can anybody tell me where i can find a detailed document on #pragma .... --shri
1
by: Gustavo L. Fabro | last post by:
Greetings! Going directly to the point: myclass.h: //-------------------------------------- #pragma managed //Forward declaration
11
by: ramu | last post by:
HI, Can anyone tell me about pragma? And can u give an example of how to use it?
15
by: muttaa | last post by:
Hello all, I'm a beginner in C...May i like to know the difference between a #pragma and a #define.... Also,yet i'm unclear what a pragma is all about as i can find topics on it only in...
3
by: Fred Morrison | last post by:
Does DB2 have anything equivalent to Oracle's PRAGMA AUTONOMOUS_TRANSACTION that allows a stored procedure to BEGIN, COMMIT or ROLLBACK a totally independent transaction while possibly (but not...
2
by: alex | last post by:
I'm executing this code against an Oracle connection. The SQL works perfectly under an ORACLE console, but fails when executing it from the PHP script. I hope someone can give me a guiding light...
0
by: SRINIVAS BV SHARMA | last post by:
Hello Everyone I need following equivalents of ORACLE in MS-SQL 2005 Data Types Packages Pipelined / pipe row Connect By Pragma autonomous_transaction Global Temporary Tables.
26
by: Rick | last post by:
I'm told that "#pragma once" has made it into the ISO standard for either C or C++. I can't find any reference to that anywhere. If it's true, do any of you have a reference I can use? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.