PLS-00752: Table function string is in an inconsistent state. Cause: Some of the internally generated types prefixed with SYS_ have been dropped. These should never be dropped by the user. Action: Recompile the table function or the package or type that contains the table function.