🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #1457

Re: Should be a simple SQL query - what's wrong?

#1457
From: Richard Sandieson
Date: Fri, 02 Jan 1998 00:00
23 lines
1449 bytes
I am having a similar problem finding text fragments within fields. 
I have a database that contains information on a few thousand chemicals.
Chemical names can be long and although a name may contain a lot of
information, a name can not be broken up into multiple fields.
For example - I might want to find a chemical in inventory that has
"diamine" somewhere in the name. In VDB5.5 I can find name fragments as
follows.
  
locate for lcValue$CHEMICALS->CHEM_INDEX
* The value is taken from an entryfield on my search form.

I've been trying to use the sql designer to do the same thing using
"like" under the criteria tab - but with no success.
Can anyone point me in the right direction.  
Thank you for any assistance.

-- 

Richard Sandieson       
Allegheny College               
Box 15 Chemistry Dept.          	
Meadville, PA 16335
Technical Details
Message-ID: <34AD5931.CC27081F@alleg.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34ad23cf.6485646@news.demon.co.uk> <MPG.f16eb4eb72bbbfe98a2df@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,aca5405642e4aa86,start
X-Google-Attributes: gidff5a1,public
From: Richard Sandieson <rsandies@alleg.edu>
Subject: Re: Should be a simple SQL query - what's wrong?
Date: 1998/01/02
Message-ID: <34AD5931.CC27081F@alleg.edu>
X-Deja-AN: 312220463
Content-Transfer-Encoding: 7bit
References: <34ad23cf.6485646@news.demon.co.uk> <MPG.f16eb4eb72bbbfe98a2df@forums.borland.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Allegheny College
Newsgroups: borland.public.vdbase.data.sql