Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01405: fetched column value is NULL

User_HWMGHDec 30 2022

UPDATE ... SET ... WHERE ... RETURNING LENGTH(xyz) INTO :lenxyz;
results in ORA-01405.
It is actually a normal condition that xyz is NULL sometimes and in this case, I would like to get the value 0 into :lenxyz instead of the ORA-01405 error.
How do I do that?

This post has been answered by User_HWMGH on Dec 30 2022
Jump to Answer
Comments
Post Details
Added on Dec 30 2022
5 comments
715 views