Does teradata allows calling procedure in a procedure. Actually i want to use statement CALL DBC.SysExecSQL('CALL DBC.SysExecSQL(:CS_SQL_Text);'); in a procedure . Also do remember that :CS_SQL_TEXT contains a dynamic sql. And what if the inner procedure returns no rows. Does the main procedure will fail ? . Actually i wanted to create a procuedure that will first run a dynamic sql statement. stores its result and then execute the set of statements in that procedure. It would be of great if anyone can help me in fnding a solution.
↧