RE: [SQL] using like

From: JT Kirkpatrick <jt-kirkpatrick(at)mpsllc(dot)com>
To: "'Brett W(dot) McCoy'" <bmccoy(at)lan2wan(dot)com>, JT Kirkpatrick <jt-kirkpatrick(at)mpsllc(dot)com>
Cc: "'pgsql-sql(at)hub(dot)org'" <pgsql-sql(at)hub(dot)org>
Subject: RE: [SQL] using like
Date: 1999-05-25 20:37:46
Message-ID: 01BEA6CC.ECE7B560.jt-kirkpatrick@mpsllc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

ahh, sorry again for conjestion on the list! i have parameter criteria
defined in an msaccess97 query, so when i run the query, it asks me for a
value. i since learned that i can put those wildcards (%) in the value i
type in when access asks for it! also, in the query definition (access97,
not a passthrough. . .) i can also convert the field to uppercase and
convert the user-input value (criteria expression) to uppercase so the
search isn't case-sensitive! it just gets cooler. . .

jt

-----Original Message-----
From: Brett W. McCoy [SMTP:bmccoy(at)lan2wan(dot)com]
Sent: Tuesday, May 25, 1999 7:46 PM
To: JT Kirkpatrick
Cc: 'pgsql-sql(at)hub(dot)org'
Subject: Re: [SQL] using like

On Tue, 25 May 1999, JT Kirkpatrick wrote:

> ok, sorry for conjestion, but i figured it out: select autoinv, company
> from table1 where company like '%Alice%'; -- that works in psql. but how
> do i substitute "Alice" with a variable name??

A variable name where? In AccessBasic?

Brett W. McCoy
http://www.lan2wan.com/~bmccoy
-----------------------------------------------------------------------
Never put off till tomorrow what you can avoid all together.

Browse pgsql-sql by date

  From Date Subject
Next Message Brett W. McCoy 1999-05-25 23:43:37 Re: [SQL] using like
Previous Message JT Kirkpatrick 1999-05-25 20:17:09 using like