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.
Error Message
cannot create a view with column based on CURSOR operator
A CURSOR operator was used as one of the SELECT elements in the subquery of a CREATE VIEW or CREATE TABLE ... AS SELECT statement.
Remove the CURSOR operator and replace it with the CAST operator.