print/return only the first X chars of a varchar column?

Поиск
Список
Период
Сортировка
От Kevin Kempter
Тема print/return only the first X chars of a varchar column?
Дата
Msg-id 200908310849.12852.kevink@consistentstate.com
обсуждение исходный текст
Ответы Re: print/return only the first X chars of a varchar column?
Re: print/return only the first X chars of a varchar column?
Список pgsql-general
Hi all;

I'm selecting from a table that has a varchar(1000) but I only want to display
the firs 20 characters.  Looked at the string functions in the docs but nothing
jumped out...

Suggestions?


Thanks in advance


В списке pgsql-general по дате отправления: