🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.powerbuilder
Article #45

Title Search??

#45
From: jayvee
Date: Fri, 02 Oct 1998 00:00
53 lines
1939 bytes


I would like to ask some hints about SEARCHING...
This is about Library Management System.

Let's say I have the following in titles in the database:

1 "The PowerBuilder for DOS"
2 "An Introduction to Database and SQL"
3 "Advance Newbie"
4 "Accelerate into C++ Programming"
5 "C++ for Dummies"

When the user search for:

"PowerBuilder"   Displays(1)
"SQ"             No result
"SQL"            Displays(2)
"C++"            Displays(4,5)

(Also I will be filtering : A, An, The, Is, For, blah blah.. To get
 only the root word)

I don't think I can achive this with that set of data. I'm planing to
add another table to store the choped version of the title.

Something like this:

1:PowerBuuilder
1:Dos
2:Introduction
2:Database
2:SQL
3:Advance
3:Newbie
4:Accelerate
4:C++
4:Programming
5:C++
5:Dummies

With this I can do an IN clause or a series of AND blah.. AND blah...

Is this OK?? Or I'm getting into confusion. Please put me into
the right path... Or maybe give me some link about this topic.

Thank you very much.

(please respond by e-mail)

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Technical Details
Message-ID: <6v1ti4$a8g$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10288e,92b5b71610a48eeb,start
X-Google-Attributes: gid10288e,public
X-Google-Thread: 111366,92b5b71610a48eeb,start
X-Google-Attributes: gid111366,public
From: jayvee@mayon.cats.edu.ph
Subject: Title Search??
Date: 1998/10/02
Message-ID: <6v1ti4$a8g$1@nnrp1.dejanews.com>
X-Deja-AN: 396957604
X-Http-Proxy: 1.0 x11.dejanews.com:80 (Squid/1.1.22) for client 203.172.25.139
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Fri Oct 02 06:58:11 1998 GMT
Newsgroups: comp.soft-sys.powerbuilder,borland.public.cppbuilder.database
X-Http-User-Agent: Mozilla/4.5b1 [en] (Win95; I)