Anonymous blocks are always fun since technically Oracle sees them as a single statement (making debugging them nearly impossible) so where the error actually occurs in the "script" is at the start of the AB. Even though Oracle is telling you which line in the AB it is occurring. It's one of those fun "quirks" when dealing with Oracle.
↧