Re: The same result for with SPACE and without SPACE

Поиск
Список
Период
Сортировка
От Mohammed Aslam
Тема Re: The same result for with SPACE and without SPACE
Дата
Msg-id CAJXhg9ByRV9QPVcW5MPi2c20g948Oxt8qU1DrcVb51fFgTEj2A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: The same result for with SPACE and without SPACE  (Scott Ribe <scott_ribe@elevated-dev.com>)
Ответы Re: The same result for with SPACE and without SPACE  (mahesh <mahesha_dba@yahoo.com>)
Список pgsql-admin
Kindly remove from here

On Thu, 15 Jun, 2023, 7:09 pm Scott Ribe, <scott_ribe@elevated-dev.com> wrote:
> On Jun 15, 2023, at 7:08 AM, Wetmore, Matthew (CTR) <Matthew.Wetmore@express-scripts.com> wrote:
>
> I can reproduce this with a INT

?

When casting string to integer, trailing spaces do not cause an exception. When casting integer to char(n), the string will be blank padded.

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

Предыдущее
От: Scott Ribe
Дата:
Сообщение: Re: The same result for with SPACE and without SPACE
Следующее
От: mahesh
Дата:
Сообщение: Re: The same result for with SPACE and without SPACE