Article View: borland.public.intrabuilder.data.sql
Article #46SQL query not working?
From: Jeffery Chow
Date: Wed, 11 Feb 1998 00:00
Date: Wed, 11 Feb 1998 00:00
28 lines
1221 bytes
1221 bytes
Hi, I have a table that contains the following columns: <number StudentKey> <alpha "interview (y/n)"> (null or "yes") <date "interview date"> (null or date) I'm trying to find rows for a specific student who has an interview but has not set an interview date. The query: SELECT * FROM signups WHERE studentKey = 12345678 AND "interview (y/n)" \ IS NOT NULL AND "interview date" IS NULL However, this query doesn't work at all! My test data: StudentKey "Interview (y/n)" "Interview Date" 12345678 yes 1/9/98 12345678 yes 12345678 No matter how I vary the query, I either get ALL the rows back, or none of them. I've tried "WHERE "Interview (y/n)" LIKE '%yes%'" but that didn't work either. I'm using the trial version of IB, tables are paradox 7. Does anyone know what I'm doing wrong? Jeff
Technical Details
Message-ID:
<6bqvh4$fh$1@neptune.uniserve.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 101d9a,1ad3c0a7cb387722,start X-Google-Attributes: gid101d9a,public From: Jeffery Chow <jchow@shell.uniserve.com> Subject: SQL query not working? Date: 1998/02/11 Message-ID: <6bqvh4$fh$1@neptune.uniserve.com> X-Deja-AN: 323946641 Organization: Uniserve Newsgroups: borland.public.intrabuilder.data.sql