If you try and add: A mandatory column Without a default To a table containing data It's null for every row => you'll get an error @nakdimon.bsky.social checks how Oracle AI Database optimises this to error instantly ...and notes an edge case to be aware of
Optimization of NOT NULL Constraint Creation - @DBoriented
Several years ago I wrote a series of 8 posts about constraint creation optimization. I think it’s time to add some more posts to the series. I showed there, among other things, that Oracle does a…
buff.ly