Here is a sample procedure(script) of what i need. The below inset statement will insert 10 rows into the temp table. But i need that count 10 in the variable "ACT_CNT".
Could someone please modify the code to capture the result(ACT_CNT).
REPLACE PROCEDURE TEST_ACTIVITY_CNT
(
OUT act_cnt INT
)
BEGIN
INSERT INTO TEMP_TEST_STG_V360_RUN
SELECT * FROM STG_V360_RUN
;
END
;
Thank you.
↧