Home  >  Article  >  Database  >  About mysql Call stored procedure

About mysql Call stored procedure

WBOY
WBOYOriginal
2016-12-01 00:00:021384browse

mysqlsql storage

Problem: When calling a successfully created stored procedure prompt in phpadmin
#1312 - PROCEDURE phonelive.hi can't return a result set in the given context

The code is as follows:
create PROCEDURE hi()
select 'hello';
//Your SQL statement has been successfully run (the query took 0.0003 seconds)

call hi();
#1312 - PROCEDURE phonelive.hi can't return a result set in the given context

There is a master Any idea what the problem is?

Reply content:

http://www.cnblogs.com/fnlingnzb-learner/p/5865256.html

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn