This is my stored procedure but it is not working ...
CREATE PROCEDURE sp_select_custId (IN custId INTEGER)
BEGIN
select * from customer c,tapedelivery t where c.CustomerID=t.CustomerId And c.CustomerID = custId;
END;
But it is not running ..it is giving error ..please suggest me correct syntax/way to create this procedure