Mega Code Archive

 
Categories / Oracle PLSQL Tutorial / PL SQL Data Types
 

BINARY_INTEGER

The BINARY_INTEGER datatype is used for declaring signed integer variables. BINARY_INTEGER variables are stored in binary format, which takes less space. Calculations on binary integers can also run slightly faster because the values are already in a binary format. The Syntax for the BINARY_INTEGER Datatype variable_name BINARY_INTEGER; Here is a sample declaration: my_integer BINARY_INTEGER; A BINARY_INTEGER variable can store any integer value in the range -2,147,483,647 through 2,147,483,647.