Обсуждение: sql by length of data

Поиск
Список
Период
Сортировка

sql by length of data

От
"Kristopher Yates"
Дата:
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

Re: sql by length of data

От
Andreas Scherbaum
Дата:
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