Where is the String Length function?

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

Where is the String Length function?

От:
Trinh Hoai Nhan <nhan@samart.co.th>
Дата:
It am a bit ashamed asking this, but I could not find a pgsql function
that returns length of a text. Would anybody give me an advice?

Thank you in advance.
Trinh H. Nhan.

Re: [SQL] Where is the String Length function?

От:
Aleksey Dashevsky <postgres@luckynet.co.il>
Дата:
Try length function:
userbase=> select length(cast ('123456' as text));
length
------
     6
(1 row)


On Tue, 30 Jun 1998, Trinh Hoai Nhan wrote:

> It am a bit ashamed asking this, but I could not find a pgsql function
> that returns length of a text. Would anybody give me an advice?
> 
> Thank you in advance.
> Trinh H. Nhan.
> 
> 

FAQ