MySQL Forums
Forum List  »  Delphi

How to do this
Posted by: Firass Arrami
Date: July 14, 2009 02:28AM

Hi

I am trying to create a procedure where the result is based on the passed parameters
for example

CREATE DEFINER = 'root'@'localhost' PROCEDURE TelOwener(IN fField VARCHAR(25), IN Number VARCHAR(25), OUT CName VARCHAR(75))
BEGIN
SELECT Contact_Name into CName FROM TBL_ADRSBOOK WHERE fField = Number
END;

my programm will call this with diffrent field name like 'tel01_number' or 'tel02_number'


How can i do this

BR

Options: ReplyQuote


Subject
Written By
Posted
How to do this
July 14, 2009 02:28AM
August 11, 2009 11:26AM


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.