SELECT question

Поиск
Список
Период
Сортировка
От Alex
Тема SELECT question
Дата
Msg-id 3FA7857E.9080903@meerkatsoft.com
обсуждение
Ответы Re: SELECT question
Re: SELECT question
Re: SELECT question
Список pgsql-general
Hi,

I have a bit string , 7 bits, every bit representing a day of the week.
e.g. 1110011.
Is there and easy way where I can translate/format that string in a query.
I want to give the string back with a '-' for every 0 and the first char
of the Day for every '1'.
example 1100111 = SM--TFS.

thanks for any suggestions
Alex







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