ID: Q124314
The DB-Library (DB-Lib) function dbconvert will return SUCCEED when converting a string to DATETIME, even if the time portion has not been correctly specified. The same string will cause an error if an attempt is made to convert it to DATETIME using the Transact SQL CONVERT function.
The dbconvert function is not correctly flagging an incorrect time as an error.
Run the Transact SQL CONVERT function to verify the validity of the string to be converted.
Microsoft has confirmed this to be a problem in DB-Library version 4.20.00. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional query words: Windows NT dblib
Keywords : kbprg SSrvBCP SSrvDB_Lib SSrvProg kbbug4.20
Version : 4.2 4.21 | 4.2 | 4.2
Platform : MS-DOS OS/2 WINDOWS
Last Reviewed: May 1, 1997