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

Some Qs on Stored Procedure - forum topic by sachin.sebastian

$
0
0

Hi, I have couple of qs on SP. Could you please through some light on them?
1) The RequestText field in DBC.Tables does not show the definition of a SP (NULL); while some SPs show values like "ALTER PROCEDURE '535953444241'xn.'535055F5354414745'xn COMPILE;"
What is the difference? Is there any method by which a SP definitinon will get logged in DBC.Tables?
2) When a SP is changed is it okay to do either of '.compile' OR 'REPLACE PROCEURE'? If so, what is the difference between '.compile'& 'REPLACE PROCEURE'?
3) If a SP has multiple sqls within it, does each sql executed get logged in Dbqlogtbl, when the SP is called? Asking this because, I have seen cases where the individual sqls within the SP logged in Dbqlogtbl, and other cases where only CALL statement being logged and not the sqls within the SP.

Tags: 
Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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