From: Martijn Tonies Date: November 25 2005 8:46am Subject: Re: Using a Stored Procedure that returns a resultset List-Archive: http://lists.mysql.com/mysql/192169 Message-Id: <013701c5f19c$c6ecd850$c802a8c0@martijnws> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0134_01C5F1A5.289BBC80" ------=_NextPart_000_0134_01C5F1A5.289BBC80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hmm ... I'll see what I can do then. Thanks. 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 >I tried that, but in Delphi with the particular component-set I'm = using,=20 >this raises: mySQL Error Code: (1312) >PROCEDURE test.p_Select() can't return a result set in the given = context Ah, you're not the first to have that error message, eg see the = discussions at http://forums.mysql.com/read.php?98,40521,41706 http://forums.mysql.com/read.php?98,42347,42347#msg-42347 http://bugs.mysql.com/bug.php?id=3D12335 http://forums.mysql.com/read.php?98,48703,49918 Not sure which of those approaches will work for you. PB =20 ----- Martijn Tonies wrote:=20 >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. ------=_NextPart_000_0134_01C5F1A5.289BBC80--