Error: 1172 Result consisted of more than one row
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?
Subject
Views
Written By
Posted
Error: 1172 Result consisted of more than one row
6885
February 18, 2019 01:03AM
1791
February 18, 2019 05:50PM
1342
February 18, 2019 10:49PM
1198
February 23, 2019 08:59PM
981
February 26, 2019 01:02AM
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.