MySQL Forums
Forum List  »  Stored Procedures

Error: 1172 Result consisted of more than one row
Posted by: Saravanan D
Date: February 18, 2019 01:03AM

HI,Within a stored procedure I have a SELECT CONCAT(TripID,RouteId,Kms,etc..)INTO v_SeatDetails..... within a loop. At some point I get the following error:

Error: 1172 SQLSTATE: 42000 (ER_TOO_MANY_ROWS)
Message: Result consisted of more than one row

Would the SELECT INTO have anything to do with it? How can I fix that?

Options: ReplyQuote


Subject
Views
Written By
Posted
Error: 1172 Result consisted of more than one row
6256
February 18, 2019 01:03AM


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.