ERROR | cannot create a view with column based on CURSOR operator |
CAUSE | A CURSOR operator was used as one of the SELECT elements in the subquery of a CREATE VIEW or CREATE TABLE ... AS SELECT statement. |
ACTION | Remove the CURSOR operator and replace it with the CAST operator. |