MySQL Forums
Forum List  »  Stored Procedures

Re: use Store proc from Delphi
Posted by: Daniel Altamira
Date: November 23, 2005 07:31AM

Hi, js_gros. I develop with Delphi and I had the same problem.

There is a MySQL bug when you try to call SP without parameters, the parenthesis "()" at the end of the SP Name doesn't appear. There is no problem if your SP has parameters, but there is a bug if your SP has not parameters.

I solved it using TADOQuery instead TADOStoredProc, in the SQL property write this: "CALL StoredProcName();" then in your code use ExecSQL.

This is a temporary solution, I hope that this bug is solved.

Best regards.

Options: ReplyQuote


Subject
Views
Written By
Posted
5846
September 01, 2005 09:34AM
3124
September 01, 2005 12:31PM
2941
October 17, 2005 06:00AM
3284
November 05, 2005 10:34PM
3278
November 16, 2005 10:23AM
Re: use Store proc from Delphi
5395
November 23, 2005 07:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.