I have maked an stored procedure but I cannot execute the stored procedure I dont know what the problem is.
Source code:
Create or replace procedure land_naam(klantnummer_input in VARCHAR2
, verzendland_output out VARCHAR2)
AS
BEGIN
SELECT land into verzendland_output from klanten
WHERE klantnummer = klantnummer_input;
END land_naam;
First I create the procedure without any error.
Then if I want to execute it I run the code
Execute land_naam;
after that I get the error :
ORA-00900: invalid SQL statement
What can i do to solve this problem? The procedure The error statement
klantnummer_inputas an input parameter. You have to pass a value for itExecute land_naam(some_input_value)- Daniel Farrell(klantnummer_input in VARCHAR2 , verzendland_output out VARCHAR2)mean? - Ken White