database - Oracle ORA-01422: exact fetch returns more than requested number of rows -
i trying create member function returns member names of expired members. select query works outside of member function , member function compiles no problems when call function error:
ora-01422: exact fetch returns more requested number of rows
i assume simple have not been using oracle long got bit stuck syntax. can this?
since query can return more 1 row need use cursor , cursor-for loop iterate on results. cannot return more 1 member name using varchar; use pl-sql table.
Comments
Post a Comment