pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
sql by length of data
2+ messages / 2 participants
[nested] [flat]

* sql by length of data
@ 2002-03-14 17:49 Kristopher Yates <kris@grinz.com>
  2002-03-20 13:59 ` Re: sql by length of data Andreas Scherbaum <adsmail@htl.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Kristopher Yates @ 2002-03-14 17:49 UTC (permalink / raw)
  To: pgsql-admin

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.

Thanks



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: sql by length of data
  2002-03-14 17:49 sql by length of data Kristopher Yates <kris@grinz.com>
@ 2002-03-20 13:59 ` Andreas Scherbaum <adsmail@htl.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andreas Scherbaum @ 2002-03-20 13:59 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-03-20 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-14 17:49 sql by length of data Kristopher Yates <kris@grinz.com>
2002-03-20 13:59 ` Andreas Scherbaum <adsmail@htl.de>

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