Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008

    Unanswered: SELECT from stored procedure resultset?

    Hey Everyone,

    I created a stored procedure in MySQL that returns one resultset. Was curious if there was a way to SELECT these results into a table or temp table.

    For example: CREATE TEMPORARY TABLE test (SELECT * FROM (CALL stored_proc))

    That doesn't actually work, but you get my point.


  2. #2
    Join Date
    Apr 2002
    Toronto, Canada
    create a similar stored proc that saves the data rather than returning it | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts