Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: use stored procedure results in select query

Started 1 month, 2 weeks ago by Marc Ozin
Hi All, Is something like this possible? select sName from tblcategories where iCategoryID in (call spCategoryListChildIDs(52)); Basically I've got a stored procedure that lists the IDs of all the children of a given parent category id. The example query above uses this (if it worked) SP to list the category names instead of their IDs Please excuse me if the answer's ...
Site: MySQL AB - MySQL Forums  MySQL AB - MySQL Forums - site profile
Forum: Stored Procedures  Stored Procedures - forum profile
Total authors: 2 authors
Total thread posts: 3 posts
Thread activity: no new posts during last week
Domain info for: mysql.com

Other posts in this thread:

Peter Brawley replied 1 month, 2 weeks ago
>Is something like this possible? >select sName from tblcategories where iCategoryID in (call spCategoryListChildIDs(52)); Alas not in MySQL. Have the sproc save its results to a temp table, call the sproc, and join to that table. PB http://www.artfulsoftware.com

Marc Ozin replied 1 month, 2 weeks ago
Hi Peter, Thanks for the clarifcation and the suggestion. All the best M.

 

Top contributing authors

Name
Posts
Marc Ozin
2
user's latest post:
Re: use stored procedure results...
Published (2009-11-06 12:09:00)
Hi Peter, Thanks for the clarifcation and the suggestion. All the best M.
Peter Brawley
1
user's latest post:
Re: use stored procedure results...
Published (2009-11-05 15:30:00)
>Is something like this possible? >select sName from tblcategories where iCategoryID in (call spCategoryListChildIDs(52)); Alas not in MySQL. Have the sproc save its results to a temp table, call the sproc, and join to that table. PB http://www.artfulsoftware.com

Related threads on "MySQL AB - MySQL Forums":

Related threads on other sites:

Thread profile page for "use stored procedure results in select query" on http://www.mysql.com. This report page is a snippet summary view from a single thread "use stored procedure results in select query", located on the Message Board at http://www.mysql.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity