pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedWhere is the String Length function?
2+ messages / 2 participants
[nested] [flat]
* Where is the String Length function?
@ 1998-06-30 16:24 Trinh Hoai Nhan <nhan@samart.co.th>
0 siblings, 1 reply; 2+ messages in thread
From: Trinh Hoai Nhan @ 1998-06-30 16:24 UTC (permalink / raw)
To: pgsql-sql
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [SQL] Where is the String Length function?
@ 1998-06-30 16:53 Aleksey Dashevsky <postgres@luckynet.co.il>
parent: Trinh Hoai Nhan <nhan@samart.co.th>
0 siblings, 0 replies; 2+ messages in thread
From: Aleksey Dashevsky @ 1998-06-30 16:53 UTC (permalink / raw)
To: Trinh Hoai Nhan <nhan@samart.co.th>; +Cc: pgsql-sql
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.
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1998-06-30 16:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-06-30 16:24 Where is the String Length function? Trinh Hoai Nhan <nhan@samart.co.th>
1998-06-30 16:53 ` Aleksey Dashevsky <postgres@luckynet.co.il>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox