Re: syntax pb

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: syntax pb
Дата
Msg-id CAKFQuwYYvQQ0PCh3jQJdDKGha4wuTfCpBBj5m_AxioKgLP5PPg@mail.gmail.com
обсуждение исходный текст
Ответ на syntax pb  (Marc Millas <marc.millas@mokadb.com>)
Ответы Re: syntax pb
Список pgsql-general
On Tuesday, May 30, 2023, Marc Millas <marc.millas@mokadb.com> wrote:

I get:
ERROR:  column "d" is of type numeric but expression is of type text
LINE 2: Select distinct test1.t, 'abc' as b, NULL as c, NULL as d
                                                   
HINT:  You will need to rewrite or cast the expression.

Can someone give a short SQL syntax hint ?


David J. 

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

Предыдущее
От: Marc Millas
Дата:
Сообщение: syntax pb
Следующее
От: Ray O'Donnell
Дата:
Сообщение: Re: syntax pb