Re: SQL Server 2005 "Left outer join" return nothing through ODBC call
- From: Arno Huetter <arno.huetter@xxxxxx>
- Date: Thu, 13 Apr 2006 21:54:02 +0200
Hi there,
we were facing a similar problem over here. Some outer joins suddenly returned empty resultsets on SqlServer 2005 in 2000-compatibility-mode, but only within our application (under ODBC). The same query executed in Query Analyzer just worked fine (Query Analyzer of course uses OLEDB). We finally solved that issue by upgrading to the latest SqlServer ODBC driver which can be found at: http://www.microsoft.com/downloads/details.aspx?displaylang=de&FamilyID=D09C1D60-A13C-4479-9B91-9E8B9D835CDC
HTH
Kind regards,
Arno Huetter
SQL Server 2005 ODBC driver problem wrote:
> SQL 2005 “LEFT OUTER JOIN” ISSUE
>
>
> In our C++ application, we call ODBC apis to execute following SQL
> statement. It did work for SQL Server 7.0 and SQL server 2000. When we
> upgrade to SQL server 2005( and SQLNCLI.dll), it does not work any more
> without any error report, it just returns empty result.
>
> Note, not error report. The return code is success. Every thing is looked
> perfect, except no content. It should return one row of the result. It works
> perfect, if we just select same record from the first table without using
> "left outer join" and the correct row was returned.
// snip
>
> However, all three style statements are working find on “SQL server 2005
> query analyzer”.
>
>
> Does any body know what the problem is? IT may be the ODBC driver is not
> working perfect with SQL server 2005. We checked that our ODBC connection
> indeed using the new driver "sqlncli.dll". Btw, it is not working with old
> driver either.
>
> Any feedback is appreciated. Thanks for your time.
.
- Prev by Date: Re: ODBC Linked Server Security Problem - Anybody?
- Next by Date: Extended Stored Procedure: Loopback connection
- Previous by thread: How to replicate Database from a server to another on different Network
- Next by thread: Extended Stored Procedure: Loopback connection
- Index(es):
Relevant Pages
|