Re: getting column value length

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: getting column value length
Date: 2009-02-03 23:49:38
Message-ID: gmal6h$asd$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

blackwater dev wrote on 04.02.2009 00:44:
> I need to return all rows in a table where one of the columns 'name' is
> 37+ characters. In postgres, is there a function to get the length of
> the columns contents?

Check out char_length()

http://www.postgresql.org/docs/8.3/static/functions-string.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2009-02-04 02:37:43 Re: Pet Peeves?
Previous Message Joshua D. Drake 2009-02-03 23:48:31 Re: getting column value length