If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySql Stored Procedure Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-05, 06:19
doubtsdb doubtsdb is offline
Registered User
 
Join Date: May 2005
Posts: 13
MySql Stored Procedure Error

Hi all

I am trying to do one Stored Procedure (MySql database) and excecute it in
Delphi.

For beginning I wrote and compilled one easy Procedure in PL/SQL which is:

create procedure Sample()
Begin
Select * from A;
End


Then in Delphi, using Button click iam trying to call that Procedure By the
following Way;

storedProc1.close;
storedProc1.connection := Conn;
StoredProc1.open;(or) ExecProc

AdoDataSet1.Recordset := StoredProc1.recordset.

When iam trying to do this iam getting error stating

OleExecption with Message [MySql][ODBC 3.51 Driver][mysqld-5.0.13-rc-nt]
Sql Syntax Error, Error near to 'Call Sample1()'



What I did wrong, Please Send Me Sample Program for the same

Thanks in Advance

Balu
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On