MySQL Forums
Forum List  »  Stored Procedures

Re: TOO_MANY_ROWS
Posted by: pradeesh Joseph
Date: July 13, 2020 11:07AM

Thanks peter for your reply.

Please help to resolve this

create procedure TOO_MANY_ROWS
(in V_NAME varchar(255))
begin
DECLARE VALUE_RETURN VARCHAR(255);
begin
SET has_error=1;
select 'TOO MANY ROWS';
end;
select bt.name INTO VALUE_RETURN from employees bt inner join dept ec
on bt.id=ec.it
where ENAME=V_NAME;
END;


Error :

SQL ERROR: Error Executing Query, Please check.

Options: ReplyQuote


Subject
Views
Written By
Posted
307
July 13, 2020 08:31AM
77
July 13, 2020 08:39AM
97
July 13, 2020 09:20AM
130
July 13, 2020 10:37AM
Re: TOO_MANY_ROWS
74
July 13, 2020 11:07AM
76
July 13, 2020 02:54PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.