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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL QUERY

Re: SQL QUERY

From: Peter Hazelton <peterhazelton_at_hotmail.com>
Date: Tue, 05 Sep 2000 13:32:37 GMT
Message-Id: <10610.116204@fatcity.com>


Try using the UNION ALL command. Write me if you have any problems with it or with creating the view.

>From: "Suhen Pather" <PatherS5_at_telkom.co.za>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: SQL QUERY
>Date: Mon, 04 Sep 2000 07:50:20 -0800
>
>Hi Gurus
>
>I require help with creating a view based on multiple tables.
>There are 22 tables that have the same column names.
>I need to create a view based on these tables so that each of the tables
>data is appended to the view.
>
>eg TABLE1
>COL1 COL2 COL3 COL4
>blah blah blah blah
>abcd defg jfjfkjf xyz
>
>TABLE2
>COL1 COL2 COL3 COL4
>what is my name
>where do I work
>
>
>If I combine the 2 tables into a view it must look like
>
>VIEW1
>COL1 COL2 COL3 COL4
>blah blah blah blah
>abcd defg jfkjf xyz
>what is my name
>where do I work
>
>
>
>Any help would be greatly appreciate
>
>
>TIA
>
>Suhen Pather
>Oracle DBA (OCP)
>Telkom SA
>Land +27 12 300 4025
>Mobile +27 82 770 9801
>
>--
>Author: Suhen Pather
> INET: PatherS5_at_telkom.co.za
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at Received on Tue Sep 05 2000 - 08:32:37 CDT

Original text of this message

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