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-01723 zero length columns when try create a mview

user5716448Aug 10 2022

Hi,
version 11.2.0.3
Have a view which want to turn into a mview
However when try create the mview get message below.
Some of columns in view are null
ORA-01723 zero length columns are not allowed

tried cast(nvl(dw.convert_to_guid(id),'7') as nvarchar2(255)) but still get message

Would have thought cast(col as nvarchar2(255) would have been enough as some columns in the view are null for some rows and valid for them to be null

Thanks

Comments
Post Details
Added on Aug 10 2022
3 comments
532 views