Possible Duplicate:
Oracle: how to UPSERT (update or insert into a table?)
Could you guys give me an suggestion on how to proceed in the below situation:
Read table 2 column 1
if value says the record exists in table 1
update table 1 record with table 2 record details
else(value says the record does not exist in table 1)
insert table 1 record with table 2 record details
I am beginner to Oracle SQL, Please let me know if there is a better approach..I was thinking about using cursors to solve this..