7. Embedded SQL for Pascal : Pascal Variables and Data Types : Data Type Conversion : Ingres and Pascal Data Type Compatibility
 
Share this page                  
Ingres and Pascal Data Type Compatibility
The following table shows the default type compatibility for each Ingres data type. Note that some Pascal types do not match exactly and, consequently, can go through some runtime conversion.
Ingres Type
Pascal Type
char(N)
packed array[1..N ] of char
char(N)
varying[N] of char
varchar(N)
packed array[1..N ] of char
varchar(N)
varying[N ] of char
integer1
[byte] -128..127
smallint
[word] -32768..32767
integer
integer
float4
real
float4
single
float
double
date
packed array[1..25] of char
money
double
table_key
packed array[1..8] of char
object_key
packed array[1..16] of char
decimal
real
long varchar
packed array