Home > Database > Mysql Tutorial > About mysql Call stored procedure

About mysql Call stored procedure

WBOY
Release: 2016-12-01 00:00:02
Original
1447 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template