ODBC Bug in SQL Server 8?
From: Peter Arrenbrecht (arrenbrecht_at_NOXXX.opus.ch)
Date: 09/21/04
- Next message: john: "Re: Getting tables list in 64 bit platform"
- Previous message: Christian R.: "Linked server using ODBC Provider and DB transaction."
- Next in thread: Brannon Jones: "Re: ODBC Bug in SQL Server 8?"
- Reply: Brannon Jones: "Re: ODBC Bug in SQL Server 8?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Sep 2004 14:45:08 +0200
Hi all
If I prepare the following statement:
SELECT zA."ID" AS fA_A
, zA."IDFirma" AS fA_B
, zA."Name" AS fA_C
, zA."Vorname" AS fA_D
, zA."IDMandant" AS fA_E
, zB."ID" AS fB_A
FROM AtlasTest.Adresse AS zA
INNER JOIN AtlasTest.Mandant AS zB
ON zB."ID" = zA."IDMandant" AND (zB."ID" = ?)
WHERE zA."IDFirma" = 1
ORDER BY 1
the ODBC driver then returns 0 in SQLNumResultCols. If I change the "?"
to "1", however, everything works ok (6 cols). It even works if I use a
"?" in the where clause.
SQL Server Version is 8.00.760 (SP3).
Any clues?
Regards,
Peter Arrenbrecht
Opus Software AG
- Next message: john: "Re: Getting tables list in 64 bit platform"
- Previous message: Christian R.: "Linked server using ODBC Provider and DB transaction."
- Next in thread: Brannon Jones: "Re: ODBC Bug in SQL Server 8?"
- Reply: Brannon Jones: "Re: ODBC Bug in SQL Server 8?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|