How to release SET() in PgSQL?

From: Dan Lyke <danlyke(at)flutterby(dot)com>
To: Postgres <pgsql-general(at)postgresql(dot)org>
Subject: How to release SET() in PgSQL?
Date: 2001-02-21 16:12:46
Message-ID: 14995.59646.338703.981051@wynand.flutterby.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrey Y. Mosienko writes:
> SELECT * FROM test WHERE a like 'one,three';
>
> How can I do it in PgSQL? I need it so much!

It isn't quite as clean, but in the long term I think it's a better
solution:

Use a join to another table with your "SET"/"ENUM" list in it.

Dan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-02-21 16:20:06 Re: vacuum analyze again...
Previous Message Dan Lyke 2001-02-21 16:11:33 Re: Bug in my ( newbie ) mind?