DataDirect Connect for ODBC User's Guide and Reference
rc = SQLGetInfo (hdbc, 1028, &ThreadModel, NULL, NULL);
If (rc == SQL_SUCCESS) {
 // driver is a DataDirect driver which can report
 // threading information
 if (ThreadModel == 0)
 // driver is unconditionally thread enabled 
 // application can take advantage of threading
 else if (ThreadModel == 1)
 // driver is thread enabled when thread requests are
 // from different connections
 // some applications can take advantage of threading
 else if (ThreadModel == 2)
 // driver is thread impaired 
 // application should only use threads if it reduces
 // program complexity
}
else
 // driver is only guaranteed to be thread-safe
 // use threading at your own risk










