Re: getting column value length - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: getting column value length
Date
Msg-id gmal6h$asd$1@ger.gmane.org
Whole thread Raw
In response to getting column value length  (blackwater dev <blackwaterdev@gmail.com>)
List 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

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: getting column value length
Next
From: Greg Stark
Date:
Subject: Re: Pet Peeves?