5. Embedded SQL for Ada : Ada Variables and Data Types : Data Type Conversion : Ingres Data Types and Corresponding Ada Data Types
 
Share this page                  
Ingres Data Types and Corresponding Ada Data Types
The following table shows the default type compatibility for each Ingres data type. Note that some Ada types do not match exactly and, consequently, may go through some runtime conversion.
Ingres Type
Ada Type
char(N)
string(1..N)
char(N)
array(1..N) of character
varchar(N)
string(1..N)
varchar(N)
array(1..N) of character
integer1
short_short_integer
smallint
short_integer
integer
integer
float4
float
float4
f_float
float
long_float
float
d_float
date
string(1..25)
money
long_float
table_key
string (1..8)
object_key
string (1..16)
decimal
float
long varchar
string( )