stored procedures, error #1312, CLIENT_MULTI_RESULTS flag
Posted
by aadersh patel
on Stack Overflow
See other posts from Stack Overflow
or by aadersh patel
Published on 2010-03-25T13:27:41Z
Indexed on
2010/03/25
13:33 UTC
Read the original article
Hit count: 402
i am writing stored procedures in MySQL that return values;
CREATE PROCEDURE getCustomerById (id int)
BEGIN
SELECT *
FROM customer
WHERE customer.id = id;
END;
and i get the error that the results cannot be shown in the given context.
after some googling, i think that i need to set the flag "CLIENT_MULTI_RESULTS" - i am connecting the database from JDBC using a java app, but cant find where to set it!
any suggestions?
© Stack Overflow or respective owner