Re: getting column value length

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: getting column value length
Дата
Msg-id gmal6h$asd$1@ger.gmane.org
обсуждение исходный текст
Ответ на getting column value length  (blackwater dev <blackwaterdev@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: getting column value length
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Pet Peeves?