PL/SQL (MOSC)

MOSC Banner

load record with two row types using bulk collect.

edited Jan 25, 2013 9:52AM in PL/SQL (MOSC) 5 commentsAnswered
Hello,
Can someone tell me how to load two row types at one time using bulk collect and how to reference them?
My table structures are identical, the difference is that tableb is going to be a historical table.
First I'll check if a column in the first table is different in the second table if the join id columns are the
same. 
If the ids are the same, check if one particular column(code_marker) has changed, if it has changed then update the
 whole record in tableb.  If the the id is not found in the tableb then insert the record.  I know this sounds like

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