Oracle : Ошибка ORA-06539

"target of OPEN must be a query"
*Cause: The program attempted to perform an OPEN cursor operation
on a dynamic statement that was not a query.
*Action: Ensure that the OPEN cursor operation is done on a
dynamic query statement.

06540 through 06549 reserved for pl/sql error handling

Попробовать перевести

Поискать эту ошибку на форуме