MySQL Forums
Forum List  »  Stored Procedures

Re: TOO_MANY_ROWS
Posted by: pradeesh Joseph
Date: July 13, 2020 09:20AM

Thanks for your reply.

After changing to create only.

i am getting SQL ERROR: Error Executing Query, Please check.

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

Options: ReplyQuote


Subject
Views
Written By
Posted
495
July 13, 2020 08:31AM
136
July 13, 2020 08:39AM
Re: TOO_MANY_ROWS
170
July 13, 2020 09:20AM
249
July 13, 2020 10:37AM
134
July 13, 2020 11:07AM
131
July 13, 2020 02:54PM


Sorry, you can't reply to this topic. It has been closed.

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.