From: Martijn Tonies Date: November 24 2005 1:54pm Subject: Re: Using a Stored Procedure that returns a resultset List-Archive: http://lists.mysql.com/mysql/192132 Message-Id: <00e401c5f0fe$9201ad30$c802a8c0@martijnws> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > >CREATE PROCEDURE P_Select() > >READS SQL DATA > >begin > >select * from enum_table; > >end > >How would I get a resultset? > > No need for an OUT param, just call the sproc, you'll see. I tried that, but in Delphi with the particular component-set I'm using, this raises: mySQL Error Code: (1312) PROCEDURE test.p_Select() can't return a result set in the given context With regards, Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL Server Upscene Productions http://www.upscene.com Database development questions? Check the forum! http://www.databasedevelopmentforum.com