Return-Path: andrew_yu
Received: from aztec.lib.utk.edu (AZTEC.LIB.UTK.EDU [128.169.206.31]) by nobozo.CS.Berkeley.EDU (8.6.10/8.6.3) with SMTP id IAA20259 for <postgres95@postgres.berkeley.edu>; Mon, 6 Nov 1995 08:53:49 -0800
Received: from LIBPC87.LIB.UTK.EDU by aztec.lib.utk.edu (5.x/2.8s-UTK)
	id AA16635; Mon, 6 Nov 1995 11:52:41 -0500
Message-Id: <9511061652.AA16635@aztec.lib.utk.edu>
X-Sender: bryon@128.169.206.31
X-Mailer: Windows Eudora Version 1.4.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 06 Nov 1995 11:53:44 -0500
To: postgres95@postgres.Berkeley.EDU
From: blape@utk.edu (Bryon S. Lape)
Subject: word/sub-word
Resent-To: owner-postgres95
Resent-Date: Mon, 06 Nov 95 08:53:50 -0800
Resent-From: pglite
Resent-XMts: smtp

        For reasons that are stupid, I need to be able to let users of Web
forms that search our Postgres95 databases have an option to search for a
whole word or sub-word.  For instance, is somone give "SONG" as a title,
then for whole word match, things like "SONGS" and "SONGBOOK" would not
return (they would for sub-word).  My question is, how do I form these
requests?  Currently, I use LIKE '%user_word%', which works fine for
sub-word.  Any help would be highly appreciated.


bryon
--------------------------------------------------------------------------
No matter the law, the will is still free.

Bryon S. Lape
e-mail: blape@utk.edu  WWW:http://aztec.lib.utk.edu/~bryon/

