Click here to Skip to main content
15,902,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I differ this two datatypes in pl/sql. I have some choices regarding this, through which I have to differ them.

1) PLS_INTEGERs cannot have arithmetic operations performed directly on them without a hash conversion.

2) PLS_INTEGERs use Hex arithmetic resulting in reduced performance.

3) PLS_INTEGERs are only used in conjunction with pl/sql tables.

4) PLS_INTEGERs are renge restricted from -32767 to 32768.

5) PLS_INTEGERs raise an exception on calculation overflows.
Posted
Updated 10-Feb-15 20:50pm
v2

1 solution

RTFM...
Quote:
In 11g, a new data type SIMPLE_INTEGER has been introduced

Quote:
The basic difference between the two is that SIMPLE_INTEGER is always NOT NULL.

Quote:
Another difference is that the SIMPLE_INTEGER data type gives major performance boost over PLS_INTEGER...

https://decipherinfosys.wordpress.com/2008/03/13/a-new-data-type-in-oracle-11g-simple_integer/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900