Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Start from specific sql in Stored Procedure - forum topic by sachin.sebastian

$
0
0

Is it possible to start execution of a Stored Procedure from a specific location?
My SP has a series of sqls with STEP_ID assigned. I need to pass a STEP_ID value and excute only from that STEP_ID till end. Note: STEP_ID values may not be sequential
Eg:

Replace Procedure ABC (
    IN STEP_ID  INTEGER
)

BEGIN

SET STEP_ID = 51;

INSERT INTO ....

SET STEP_ID = 53;

UPDATE ....

 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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