Welding works if the hole is thru the crankcase. And you have to remove all corrosion before inside to stop it. If the hole goes thru the oil valley it will not repair this. Also welding introduce some small distortion. When welding on a engine or transmission you have to be careful where you do it. At this place it is no problem thought and it is the good way to repair if after you removed all traces of corrosion and confirmed oil passages integrity are not compromised.