MySQL Forums
Forum List  »  Stored Procedures

Syntax Errors
Posted by: Martina Long
Date: October 23, 2005 03:07AM

I am getting sytax errors with the following SP's. I am not very familiar with MYSQL stored procedures, I am used to MS SQL.

Can anyone help?

CREATE PROCEDURE `leswana`.`getTransactionHistory` (IN clientnumber INT, IN accountype SET)
BEGIN

select * from transactions tr where tr.clientnumber=clientnumber, tr.accounttype=accounttype;

END

Options: ReplyQuote


Subject
Views
Written By
Posted
Syntax Errors
2246
October 23, 2005 03:07AM
1527
October 24, 2005 01:49AM
1527
November 04, 2005 09:25AM


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.