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"
To 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
(http://support.microsoft.com/kb/300635/EN-US/
)
INFO: How to Obtain the Latest MDAC 2.6 Service Pack
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
Microsoft 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.