7. Understanding ODBC Connectivity : ODBC Programming : Boolean Columns
 
Share this page                  
Boolean Columns
The ODBC Driver supports SQL_C_BIT and SQL_BIT for BOOLEAN data types. Use unsigned char (UCHAR) to define Boolean fields. Also acceptable are char, CHAR, or SCHAR.