sql by length of data

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

sql by length of data

От:
"Kristopher Yates" <kris@grinz.com>
Дата:
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 <adsmail@htl.de>
Дата:
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
FAQ