PLS-00513: PL/SQL function called from SQL must return value of legal SQL type

oracle

PLS-00513: PL/SQL function called from SQL must return value of legal SQL type
Cause: In a SQL statement, a PL/SQL function was called that has a return type that cannot be handled by SQL. For example, type BOOLIAN, records and indexed-tables are not supported by SQL and functions returning such values cannot be called from SQL.
Action: Change the return type and retry the operation.

Back to previous menu

https://support.oracle.com/

http://www.oracle.com/