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: INSERT INTO Child Tables

Re: INSERT INTO Child Tables

From: Isa <isapmon_at_terra.es>
Date: 24 Jan 2006 07:41:14 -0800
Message-ID: <1138117273.991775.10640@g14g2000cwa.googlegroups.com>


Hi:
you can do the next:

insert into child_aux
select *
from child
where station_key

            in (select station_key
                 from  parent
                 WHERE date_time >=to_date(to_char(sysdate -
10),'yyyymmddhh24'),
                                                     yyyymmddhh24');

I hope it's useful to you
Regards,
Isa Received on Tue Jan 24 2006 - 09:41:14 CST

Original text of this message

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