MySQL Forums
Forum List  »  Triggers

Right syntax to use end
Posted by: ZHANG FEI LAM
Date: November 23, 2016 07:44AM

DELIMITER \\
CREATE PROCEDURE `getSellerLocation`
(in Seller_ID varchar(30),out Seller_sellername varchar(30),out SellerLocation_town varchar(20), out SellerLocation_street varchar(20))

BEGIN
Select S.sellername,SL.town,SL.street
from Seller S,SellerLocation SL
where S.sellerID=SL.sellerID
END \\
DELIMITER ;

I knew this question already have many replies before this topic. But i still don't know what is the problem in my code

It show error that "Right syntax to use near "end" at line 8

Options: ReplyQuote


Subject
Views
Written By
Posted
Right syntax to use end
885
November 23, 2016 07:44AM
415
November 23, 2016 11:15AM
432
November 23, 2016 11:34AM
356
November 23, 2016 12:29PM


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.