Re: Trunc in Postgres

Поиск
Список
Период
Сортировка
От Chris Boget
Тема Re: Trunc in Postgres
Дата
Msg-id 00f201c37226$b940a0d0$8c01a8c0@ENTROPY
обсуждение исходный текст
Ответ на Re: Trunc in Postgres  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Ответы Re: Trunc in Postgres  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Список pgsql-general
> You can try
> select CAST(cast('0000000000000000000000004' as NUMERIC(20)) AS varchar);

noobie question:

Do multiple casts like that slow down the query (in general and not specifically
for the query above)?  If not, what about if the query is complex?

thnx,
Chris


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Localization (for dates) Oracle vs. Postgresql
Следующее
От: "Jenny -"
Дата:
Сообщение: identifying rows locked in row level locking