Converting yes or no to one letter strings.

Поиск
Список
Период
Сортировка
От Lou
Тема Converting yes or no to one letter strings.
Дата
Msg-id 555b017e-2449-43a4-19e6-4c19af6017e3@dayspringpublisher.com
обсуждение исходный текст
Ответы Re: Converting yes or no to one letter strings.  (Rich Shepard <rshepard@appl-ecosys.com>)
Re: Converting yes or no to one letter strings.  ("Ray O'Donnell" <ray@rodonnell.ie>)
Re: Converting yes or no to one letter strings.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Converting yes or no to one letter strings.  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Converting yes or no to one letter strings.  (Christopher Browne <cbbrowne@gmail.com>)
Список pgsql-general

Hi everyone,

Is it possible to convert a boolean yes or no field to hold a one letter string? For example, the strings: 's' 'f' 'p' 'e'

To start off, I just need to convert true to 's'. false will have to be manually changed to 'f' or 'p' or 'e' as appropriate.

Lou

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

Предыдущее
От: Dmitry O Litvintsev
Дата:
Сообщение: postgresql11-devel RPM is missing from "Direct RPM downloads"
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Converting yes or no to one letter strings.