I want to write program that use procedure in pl/sql to update table by 2 condition below,
1.update table x set x.a=(select y.a from y
where y.b=x.b)
if y.a is null then update table x set x.c=1,
2.update table x set x.d=(select z.d from z
where z.g=x.g)
if z.d is null then update table x set x.c=2
this program will update about 100000 rows.
how I write program that good performance, help me please?
Thank you for your help very very much