Can a stored procedure/function return a table?

前端 未结 5 1111
名媛妹妹
名媛妹妹 2020-12-01 06:14

Can a MySql stored procedure / function return a table without the use of temp table?

Creating the following procedure

CREATE PROCEDURE database.getE         


        
5条回答
  •  温柔的废话
    2020-12-01 07:08

    According to A.4 MySQL 5.6 FAQ: Stored Procedures and Functions:

    A.4.14: Can MySQL 5.6 stored routines return result sets?

    Stored procedures can, but stored functions cannot.

提交回复
热议问题