Fwd: VB6, ADO returns EOF via ODBC but has records in PSQL

From: "Johann" <johann(at)tygerpos(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Fwd: VB6, ADO returns EOF via ODBC but has records in PSQL
Date: 2006-10-19 19:00:41
Message-ID: 6.1.0.6.0.20061019125905.01d79ce0@pop.dnvr.uswest.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc


>I'm trying to find the set of records that are not in a comma delimited
>list using an SQL statement like:
>
>SELECT name FROM construction WHERE name NOT IN ('a1 ',
>'a2 ', '') ORDER BY name;

etc...

Try select RTRIM(name) ... where not in ('a1', 'a2') etc

VBS/ADO acts weird with trailing spaces. Maybe there are other solutions too?

- Johann

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2006-10-19 21:06:00 Re: Problem with error messages in VC++ 2005
Previous Message Obe, Regina 2006-10-19 17:41:32 Re: Improve ODBC Throughput ?