PL/SQL (MOSC)

MOSC Banner

How to select from a table only the columns that exists in another table ?

edited Jun 23, 2009 8:55AM in PL/SQL (MOSC) 4 commentsAnswered
Moved: Oracle PL/SQL Technical Forum
From: AICHAH ALHALAK 16-Jun-09 19:54
Subject: How to select from a table only the columns that exists in another table

Hi,
I have a very large table T1, 140 columns, that table used to be populated by a batch job every day from another schema table T2.
New changes were done to that table T2, 10 extra columns were added, plus the column order in not the same anymore.
Now, how can I still insert into T1, without having to list all the columns from the first table and the 2nd table:
This is how the old load job looked:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center