FIX: Outer Join Syntax with Parameter Fails Against SQL Server 6.5 (294138)
The information in this article applies to:
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
This article was previously published under Q294138 SYMPTOMS
When you use the "oj" outer join syntax with a parameter in a SELECT statement using the Microsoft SQL Server driver with a SQL Server 6.5 back end, the following error message is returned:
"[Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error"
CAUSE
The problem occurs when the driver removes ODBC escape characters from the query.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft Data Access Components 2.6. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
300635 INFO: How to Obtain the Latest MDAC 2.6 Service Pack
Hotfix
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name Platform
--------------------------------------------------------------------
3/16/2001 2:48AM 2000.80.268.0 28,742 Odbcbcp.dll x86
3/16/2001 2:48AM 2000.80.268.0 471,119 Sqlsrv32.dll x86
3/16/2001 2:48AM 2000.80.268.0 90,112 Sqlsrv32.rll x86
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components 2.6 Service Pack 1.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbBug kbfix kbMDAC260sp1Fix kbQFE KB294138 |
---|
|