Link to home
Start Free TrialLog in
Avatar of route217
route217Flag for United Kingdom of Great Britain and Northern Ireland

asked on

SQL to append data to one fixed table...

Hi Experts

I am after some SQL code for Oracle Discoverer.....which does the following sequence of steps:

1. Run a SQL Code to pull data back from tables A, b and c (staff details)
2. then append this data to a master table.
2. then repeat step 1, with a slight change in SQL criteria and append the results back to step 2 the master table..

so each time I change the selection criteria I want the end result to end up in the master table.
Avatar of Helena Marková
Helena Marková
Flag of Slovakia image

I think that you can use
insert /*+ append */
into <<your master table>>
select
Avatar of route217

ASKER

Hi henka

this is the first time I am writing SQL...could you kindly put together a simple sample SQL Statement. please.

and much appreciated for the feedback.
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Vitor Montalvão

many thanks for the excellent feedback let me test...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial