Received: from mail.htl.de (mail1.rzla.htl.de [62.225.60.69]) by postgresql.org (Postfix) with ESMTP id 706224769B4 for ; Wed, 20 Mar 2002 08:59:42 -0500 (EST) Received: from htl.de (wars-nicht.de [62.225.60.91]) by mail.htl.de (Postfix) with ESMTP id 2F4E59851B for ; Wed, 20 Mar 2002 14:59:44 +0100 (CET) Message-ID: <3C9895D0.6FF133FE@htl.de> Date: Wed, 20 Mar 2002 14:59:44 +0100 From: Andreas Scherbaum X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: en, de MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: sql by length of data References: <3C908E55.17778.C335BB@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200203/265 X-Sequence-Number: 3799 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