Re: [SQL] dilemma

Herouth Maoz <herouth@oumail.openu.ac.il>

From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Eric McKeown <ericm@palaver.net>, PGsql <pgsql-sql@postgreSQL.org>
Date: 1998-10-14T09:46:13Z
Lists: pgsql-sql
At 4:24 +0200 on 14/10/98, Eric McKeown wrote:


> Is there a better way to design this?  I thought about making the option
> ids for each vehicle a comma-delimited text field, but maybe the search
> would be even slower if I did that.  Since I'm not a SQL expert, I don't
> know, but I'm asking all the experts out there--how should I set this
> thing up??

Your solution is the best, most classic solution. You just need to index
the relational table properly (Put an index on each of the fields).

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma