5. Embedded SQL for Ada : Ada Variables and Data Types : Embedded SQL/Ada Declarations : Constants
 
Share this page                  
Constants
The Embedded SQL/Ada preprocessor defines certain constants from the Ada STANDARD and SYSTEM packages.The following table maps the Ada constants to their corresponding Ingres type categories.
Ada Constant
Ingres Type
max_int
integer
min_int
integer
true
integer
false
integer
Note that if the type or constant is derived from the SYSTEM package, the program unit must specify that the SYSTEM package should be included—Embedded SQL does not do so itself. You cannot refer to a SYSTEM object by using the package name as a prefix, because Embedded SQL does not allow this type of qualification. The types f_float and d_float and the constants max_int and min_int are derived from the SYSTEM package.