pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>
To: 'Brett W. McCoy' <bmccoy@lan2wan.com>
To: JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>
Cc: 'pgsql-sql@hub.org' <pgsql-sql@hub.org>
Subject: RE: [SQL] using like
Date: Tue, 25 May 1999 16:37:46 -0400
Message-ID: <01BEA6CC.ECE7B560.jt-kirkpatrick@mpsllc.com> (raw)

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@lan2wan.com]
Sent:	Tuesday, May 25, 1999 7:46 PM
To:	JT Kirkpatrick
Cc:	'pgsql-sql@hub.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.



view thread (5+ messages)  latest in thread

Message-ID: <01BEA6CC.ECE7B560.jt-kirkpatrick@mpsllc.com>
Permalink:  ../01BEA6CC.ECE7B560.jt-kirkpatrick@mpsllc.com/
Also on:    postgresql.org/message-id/01BEA6CC.ECE7B560.jt-kirkpatrick@mpsllc.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jt-kirkpatrick@mpsllc.com, bmccoy@lan2wan.com, pgsql-sql@hub.org
  Subject: Re: [SQL] using like
  In-Reply-To: <01BEA6CC.ECE7B560.jt-kirkpatrick@mpsllc.com>
  References: <01BEA6CC.ECE7B560.jt-kirkpatrick@mpsllc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox