unsigned or signed char for VARCHAR2 mapped as SQLT_STR
716196Aug 7 2009 — edited Aug 9 2009Hi,
What is the recommended C type for the output buffer passed to OCIDefineByPos for a VARCHAR2 column mapped as a SQLT_STR?
Is it unsigned char or (signed) char?
ie given the column
name VARCHAR2(10)
should the C output buffer be
char name[11] or
unsigned char name[11]
Thanks in advance Phil.