Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/105364

From BetaArchive Wiki

FIX: dbcursorcolinfo() Will Not Return Usertype for Column

PSS ID Number: Q105364 Article last modified on 01-24-1995

4.20 | 4.20 | 4.20


The information in this article applies to:
- Microsoft SQL Server Programmer’s Toolkit, version 4.2

BUG# 9497 (4.20.00)


The value -1 will be always be returned when using dbcursorcolinfo() to determine the usertype of a column in a cursored result set. This behavior is not consistent with dbucoltype() which will return the value -1 for system datatypes and the user type for user-defined datatypes.


The DB-Library function dbcursorcolinfo() returns -1 as the usertype for any column in a cursored results set.


Microsoft has confirmed this to be a problem in DB-Library version 4.20.00. This problem was corrected in DB-Library version 4.21.00. For more information, contact your primary support provider.

Additional reference words: 4.20 DB-Library DB-Lib cursor cursors datatype KBCategory: kbprg KBSubCategory: SSrvDB_Lib SSrvProg


Copyright Microsoft Corporation 1995.