BINARY INTEGER

BINARY_INTEGER is a PL/SQL data type used for storing signed integers. BINARY_INTEGER is defined in the STANDARD package as a subtype of INTEGER. Variables declared as BINARY_INTEGER can be assigned values between -2**31 to 2**31 (-2,147,483,647 to 2,147,483,647). [edit]History Before Oracle 9i Release 2, BINARY_INTEGER was the only indexing data type allowed for associative arrays (index-by tables). However, starting from Oracle 10g, PLS_INTEGER and BINARY_INTEGER are identical and can be used interchangeably. [edit]Examples

DECLARE TYPE my_array_t IS TABLE OF VARCHAR2(100) INDEX BY BINARY_INTEGER; ... [edit]Also 

see

PLS_INTEGER
Glossary of Terms

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

Categories:   Data types 9   
page

discussion

edit

history


site navigation

Log in / create account

  

Wiki Home Forum Home Blogger Home

site highlights

    

Blog Aggregator FAQ's Mailing Lists Usenet News RSS Feeds

wiki navigation

   

Categories Recent changes Random page Help

search
Go Search

toolbox

    

What links here Related changes Special pages Printable version Permanent link

This page was last modified on 27 December 2007, at 15:27.

Privacy policy

About Oracle Wiki

Disclaimers

.:: Wiki Home :: Blogger Home :: Forum Home :: Contact :: Privacy ::.

Sign up to vote on this title
UsefulNot useful