5. Embedded SQL for Ada : Ada Variables and Data Types : Embedded SQL/Ada Declarations : Data Types
 
Share this page                  
Data Types
The Embedded SQL/Ada preprocessor defines certain data types from the Ada STANDARD and SYSTEM packages.The following table maps these types to their corresponding Ingres type categories. For a description of the exact type mapping, see Data Type Conversion (see page Data Type Conversion) in this chapter.
Ada Type
Ingres Type
short_short_integer
integer
short_integer
integer
integer
integer
natural
integer
positive
integer
boolean
integer
float
float
long_float
float
f_float
float
d_float
float
character
character
string
character
None of the types listed above should be redefined by your program. If they are redefined, your program might not compile and will not work correctly at runtime.