Re: Fwd: int type problem in 7.3

Поиск
Список
Период
Сортировка
От Mario Weilguni
Тема Re: Fwd: int type problem in 7.3
Дата
Msg-id 4D618F6493CE064A844A5D496733D6670390FE@freedom.icomedias.com
обсуждение исходный текст
Ответ на Fwd: int type problem in 7.3  (Mario Weilguni <mweilguni@sime.com>)
Ответы Re: Fwd: int type problem in 7.3  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Список pgsql-hackers
>> But oracle accepts this one:
>> SQL> select * from re_eintraege where id='';
>> no rows selected
>> because oracle treats the empty string as NULL
>
>Oracle does that for string data, but it doesn't do it for numerics
>does it?  In any case, that behavior is surely non-compliant with
>the SQL spec.

No, oracle accepts this and works correctly with number() datatype.
However I did not know that in postgres '' was treated as '0'.

Regards,Mario Weilguni




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Purpose of rscale/dscale in NUMERIC?
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: [GENERAL] New PostgreSQL Website : advocacy.postgresql.org