Re: Concatenating strings

Поиск
Список
Период
Сортировка
Искать
От
Vijay Deval
Тема
Re: Concatenating strings
Дата
Msg-id
3BD55DD5.3605498@giaspn01.vsnl.net.in
Список
Дерево обсуждения
Concatenating strings "Fredrik Thunberg" <fredrik@datessa.se>
Re: Concatenating strings Tom Lane <tgl@sss.pgh.pa.us>
Re: Concatenating strings "Josh Berkus" <josh@agliodbs.com>
Hi

standard function  initcap() should do the job. May be , first you need
to do  lower()
and then do initcap().

You can add two columns   col1||col2

Syntax of substring is like substring($string from pos for len)

Vijay

Fredrik Thunberg wrote:
> 
> Hi all.
> 
> How do you add two strings in sql?
> 
> I have a name field in one of my tables and all the names are in uppercase
> (like "FREDRIK").
> I want to get the names in the usual format (First letter capitalized)
> "Fredrik". How
> do I do that?
>


В списке pgsql-novice по дате отправления
От: Francisco Solari
Дата:
Сообщение: Re: List of data bases
От: Tom Lane
Дата:
Сообщение: Re: Concatenating strings
FAQ