Unix Technical Forum

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

This is a discussion on Fwd: VB6, ADO returns EOF via ODBC but has records inPSQL within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> >I'm trying to find the set of records that are not in a comma delimited >list using an SQL ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:10 AM
Johann
 
Posts: n/a
Default Fwd: VB6, ADO returns EOF via ODBC but has records inPSQL


>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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com