I experts,
I am facing the issue in creating the Procedure.
I have created a procedure as follows:
CREATE TYPE tt_mblnr AS TABLE( v_mblnr INTGER);
CREATE PROCEDURE demo_proc () LANGUAGE SQLSCRIPT READS SQL DATA AS
BEGIN
tt_mblnr = SELECT "MSEG"."SALK3" FROM "HANADBER5"."MSEG" ;
END;
When I execute above code in SQL Editor it works fine, but its giving me an error when I try to create same in PROCEDURE
and also could you please suggest me how see the output of the Procedure. I tried calling the Procedure in SQL editor as mentioned below but i am not getting any output.
CALL demo_proc() WITH OVERVIEW;
Thanks in advance
Regards,
Nagaraj