Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle gurus..please help with UNION query

Re: Oracle gurus..please help with UNION query

From: Alex Bitney <san_at_intasys.com>
Date: Sun, 18 Jul 1999 02:05:12 +0300
Message-ID: <37910C28.B1013106@intasys.com>

Alex Shnir wrote:
>
> Just like this:
>
> select int1, int2, char3, char4, int5, char6 from aaa
> UNION
> select int_01, 0, '', char_01, 0, 'aaaaaaaaaaaa' from bbb
>
> > Only make sure that your dummy is matching the datatype

You can also use TO_NUMBER(null) etc, ;-)))

--
/Sanoff ^\Quit(coredump) Received on Sat Jul 17 1999 - 18:05:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US