MySql stored procedures: How to select from procedure table?

后端 未结 3 1788
星月不相逢
星月不相逢 2020-12-28 13:49

Let\'s say we have a stored procedure selecting something from a table:

CREATE PROCEDURE database.getExamples() 
SELECT * FROM examples;

How can I use

3条回答
  •  清酒与你
    2020-12-28 14:22

    Reformulated the question in this thread: Can a stored procedure/function return a table?. Obviously, it isn't possible without the use for temp tables.

提交回复
热议问题