M
Mad One
Hi!
I'm developing an application using informix DBMS and .Net. I came across
following problem, when I form a query with too many clauses in WHERE part
and try to execute it with Fill command I get an exception "Connection is
dead". Removing one of the clauses creates no problem at all. I have
Informix ODBC drivers ver. 3.33, before that version exception was "Error -
no info..". It isn't DBMS problem, because when I'm using non WinSQL with
the same query everything works fine.
//An example of a query, creating the problem:
SELECT k.winien AS konto, SUM(wartosc) AS wartosc_wn, 0 AS wartosc_ma ,
SUM(wartosc_w_walucie) AS wartosc_wn_wal, 0 AS wartosc_ma_wal, waluta AS
waluta
FROM ksiega_bis04 k
WHERE (k.d_dekretacji < 'A4/01/31' ) AND (k.d_dekretacji >= 'A4/01/01' )
AND (k.winien > '') AND ( stan = '0' ) AND (k.winien BETWEEN '201' AND
'202') GROUP BY winien, waluta
Thx in advance
Marek Aleksander Dabek
I'm developing an application using informix DBMS and .Net. I came across
following problem, when I form a query with too many clauses in WHERE part
and try to execute it with Fill command I get an exception "Connection is
dead". Removing one of the clauses creates no problem at all. I have
Informix ODBC drivers ver. 3.33, before that version exception was "Error -
no info..". It isn't DBMS problem, because when I'm using non WinSQL with
the same query everything works fine.
//An example of a query, creating the problem:
SELECT k.winien AS konto, SUM(wartosc) AS wartosc_wn, 0 AS wartosc_ma ,
SUM(wartosc_w_walucie) AS wartosc_wn_wal, 0 AS wartosc_ma_wal, waluta AS
waluta
FROM ksiega_bis04 k
WHERE (k.d_dekretacji < 'A4/01/31' ) AND (k.d_dekretacji >= 'A4/01/01' )
AND (k.winien > '') AND ( stan = '0' ) AND (k.winien BETWEEN '201' AND
'202') GROUP BY winien, waluta
Thx in advance
Marek Aleksander Dabek