skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : Unicode and non-Unicode Differences
 

Unicode and non-Unicode Differences

Some of the OpenAccess SDK SQL engine API functions are different for Unicode and non-Unicode builds. Not all of the functions have a Unicode and a non-Unicode version. Where a function has both, the Unicode version is documented following the non-Unicode version and the Unicode function name is appended with "W" (as in the ODBC 3.5 API).
The only difference between the Unicode and the non-Unicode versions is whether OAWCHAR or char data type is used for character data. The length arguments always indicate the number of characters, not the number of bytes. OAWCHAR is mapped to the C Unicode data type wchar_t.