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

Home -> Community -> Usenet -> c.d.o.misc -> Re: creating a flat file, using 2 or more tables

Re: creating a flat file, using 2 or more tables

From: Tom Zamani <tomz_at_redflex.com.au>
Date: Tue, 4 Apr 2000 09:58:15 +1000
Message-ID: <8cbbk5$3qo$1@perki.connect.com.au>


Tia,
You could get only one record for each patient, just select the first row or something like that.
as for createing the file utl_file package is the way to go. Tom

Ruud Schmeitz <R.Schmeitz_at_MEMIC.UNIMAAS.NL> wrote in message news:8ca5l1$btk$1_at_rl0001.unimaas.nl...
> Hi readers,
>
> We have an Oracle database which contains a parent table and 15
> child tables (1:n).
> Our clients use specific data-analysis software, which requires a
> flat file as input. This flat file (with only 1 record for every patient)
> should contain the data from the parent table and 1 or more child
> tables.
>
> The question of course is, how to create this flat file ?
> I can't use a SELECT statement for this, because then I get (much)
> more than 1 record for every patient.
>
> Is there an easy way to do this in Oracle ?
>
> Tia,
>
> ============================================================
>
> "Live Long and Prosper" - Spock
> "And let Wisdom be your Guide" - Spock's brother
>
> Ruud Schmeitz
> Universiteit Maastricht
>
>
>
Received on Mon Apr 03 2000 - 18:58:15 CDT

Original text of this message

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