Hello.


Information from this thread might be helpful:

  http://lists.mysql.com/mysql/187580





Shaghayegh Sahebie <[EMAIL PROTECTED]> wrote:

> [-- text/plain, encoding 8bit, charset: iso-8859-1, 18 lines --]

> 

> 

> hi all, 

> how can we have a select satement in an SP?(i want to return a result set 
> from the SP). i want to migrate from SQL Server to MySQL and i don't know 
> what to do with these SPs. 

> it can be done in MySQL client, but it gives the error:"procedure foo can't 
> return a result set in the given context MySQL" 

> in the application. 

> can i set a cursor out put parameter and return it?(just like Oracle) or it 
> has another solution? 

> 

> and another question: is MyODBC 3.51 tested with MySQL 5.x? can we call an SP 
> from Delphi via MyODBC? (i tried to do so (using ADO an a data provider for 
> OLEDB) but i think somewhere in passing the call statement it had put {} 
> around "call sp()" statement so that mysql returned an error about the 
> syntax.) 

> 

> 

> 

> Thanks in advane 

> Chagh 

> 

> 

>                

> ---------------------------------

> Start your day with Yahoo! - make it your home page 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to