PRB: SQL Server ODBC Driver with ADO Spawns Second Connection (191085)
The information in this article applies to:
- ActiveX Data Objects (ADO) 1.5
- ActiveX Data Objects (ADO) 2.0
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q191085 SYMPTOMS
The first row-returning query that you run on an ADO connection to SQL
Server 6.5 using the SQL Server ODBC driver causes the following query to be
run on SQL Server:
select USER_NAME() select usertype,type,name from systypes where
usertype<=100
CAUSE
The OLE DB provider for ODBC drivers requests information from SQL Server
to understand how to manage queries and results.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 3/2/2005 |
---|
Keywords: | kbDatabase kbMDACNoSweep kbprb KB191085 |
---|
|