!--a11y-->
C/C++ Data Types in sqlvar
Entries 
This table shows the possible sqlvar entries hostvartype and the corresponding C/C++ data types.
|
hostvartype |
C/C++ Data Type |
|
sqlvint1 |
integer (1 byte) |
|
sqlvint2 |
integer (2 bytes) |
|
sqlvint4 |
integer (4 bytes) |
|
sqlvint8 |
integer (8 bytes) |
|
sqlvuns1 |
unsigned integer (1 byte) |
|
sqlvuns2 |
unsigned integer (2 bytes) |
|
sqlvuns4 |
unsigned integer (4 bytes) |
|
sqlvuns8 |
unsigned integer (8 bytes) |
|
sqlvreal4 |
float (4 bytes) |
|
sqlvreal8 |
float (8 bytes) |
|
sqlvchar |
char array (ends with null byte) |
|
sqlvcharp |
char array (filled up with blank characters) |
|
sqlvbyte |
char array (null bytes permitted and filled up with null bytes) |
|
sqlvstring1 |
String
with variable length |
|
sqlvstring2 |
String
with variable length |
|
sqlvstring4 |
String with variable length |
|
sqlvfile |
char array (filled up with blank characters) The value of this parameter must be a file name. See also SQLFILE |
|
sqlvfilec |
char array (ends with null byte) The value of this parameter must be a file name. See also SQLFILE |
|
sqlvlongdesc |
|
|
sqlvucs2 |
UCS2 array (filled up with blank characters) |
|
sqlvutf16 |
UTF16 array without surrogate (filled up with blank characters) |
|
sqlvunicode |
UTF8 array (filled up with blank characters) |
|
sqlvunicodec |
UTF8 array (ends with null byte) |
|
sqlvstringunicode |
UTF8
array with variable length |
|
sqlvstringunicode4 |
UTF8
array with variable length |
