Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

How to get the activity count in a stored Procedure - response (1) by msuman07

$
0
0
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.

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>