Initial host-variable values
You can declare host variables with normal C initializer expressions by using .
The following example shows valid C initializers:
EXEC SQL BEGIN DECLARE SECTION;
int varname = 12;
long cust_nos[8] = {0,0,0,0,0,0,0,9999};
char descr[100] = "Steel eyelets; Nylon cording.";
EXEC SQL END DECLARE SECTION;
The preprocessor does not check initializer expressions for valid C syntax; it copies them to the C source file. The C compiler diagnoses any errors.