Hi All
I am new to DB2. Can anyone help me in writing a Stored Procedure(SP) in DB2 OS390, I tried creating one using Command Center(Please find it pasted below). I am not able to execute it by using the command EXEC NEW_1. Also could anyone tell me whether anything else I had missed out to make this SP work.
CREATE PROCEDURE proc_1() LANGUAGE SQL BEGIN
Select * from employees;
END
Thanks in advance
I am new to DB2. Can anyone help me in writing a Stored Procedure(SP) in DB2 OS390, I tried creating one using Command Center(Please find it pasted below). I am not able to execute it by using the command EXEC NEW_1. Also could anyone tell me whether anything else I had missed out to make this SP work.
CREATE PROCEDURE proc_1() LANGUAGE SQL BEGIN
Select * from employees;
END
Thanks in advance