FIX: GetColumnInfo Returns Incorrect Column Information

Article translations Article translations
Article ID: 292456 - View products that this article applies to.
This article was previously published under Q292456
BUG #: 350886 (SHILOH_BUGS)
BUG #: 236168 (SHILOH_BUGS)
Expand all | Collapse all


You can use the IColumnsInfo::GetColumnInfo OLEDB function to return column metadata from a provider. When you use SQL Server 2000, a call to the IColumnsInfo::GetColumnInfo function gives incorrect results when you use server side cursors and prepared SELECT statements. For example, if there is a change in the table schema in between the calls to the function, GetColumninfo still returns the column information of the old table schema.


To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack


Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.


Article ID: 292456 - Last Review: November 6, 2003 - Revision: 3.2
  • Microsoft SQL Server 2000 Standard Edition
kbbug kbfix kbsqlserv2000sp1fix KB292456

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from