SQL Programming Manual for Pascal
Using Dynamic SQL
HP NonStop SQL Programming Manual for Pascal—528614-001
7-25
Dynamically Allocating Memory
Figure 7-7 on page 7-26 shows sample code for allocating memory for input parameter
values. You can use the same code later to allocate memory for output variables.
Figure 7-6. Checking Data Type
. . .
CASE DATA_TYPE OF
SQLDT_ASCII_V : display a character string
SQLDT_16BIT_U : display a 16-bit integer value
SQLDT_32BIT_U : display a 32-bit integer value
. . . check other data types
OTHERWISE
WRITELN('Data Type', DATA_TYPE, 'is not supported');
END;
VST0706.vsd