From: Andreas Scherbaum <adsmail@htl.de>
To: pgsql-admin@postgresql.org
Subject: Re: sql by length of data
Date: Wed, 20 Mar 2002 14:59:44 +0100
Message-ID: <3C9895D0.6FF133FE@htl.de> (raw)
References: <3C908E55.17778.C335BB@localhost>
Kristopher Yates wrote:
>
> select a, b, c where length(a=2);
>
> How do you do this? I couldn't find a postgres command for this kind of
> call.
SELECT a, b, c FROM table WHERE LENGTH(a) = 2;
best regards
--
Andreas 'ads' Scherbaum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: adsmail@htl.de
Subject: Re: sql by length of data
In-Reply-To: <3C9895D0.6FF133FE@htl.de>
References: <3C908E55.17778.C335BB@localhost> <3C9895D0.6FF133FE@htl.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox