Re: UNION result

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: UNION result
Дата
Msg-id 20030114221416.X80006-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на UNION result  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: UNION result  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 15 Jan 2003, Tatsuo Ishii wrote:

> Does anybody know:
>
> select 1.0 union select 1;
> or
> select 1 union select 1.0;
>
> should return 1 or 1.0?

Hmm, I think (but am not sure) that the spec bit
in SQL92 that addresses this is 9.3
Set operation result data types based on the
text in 7.10 query expression.  It seems
to say to me that should always be an
approximate numeric (if 1.0 is an approximate
numeric).  Am I reading that right?



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: UNION result
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: Anyone have a fresh Solaris 8 SPARC system to create