Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Wed, 17 Jan 2007 @ 20:59:36 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Best way to debug a Stored Procedure
 
From:   Diehl, Robert

Emanuel,

Not sure what you mean by debugging. If you are talking about, finding the sql errors from an stored procedure that is able to create and execute then here are two ways. I suggest you use both methods.

1) add logging into the stored procedure to help trace down where the failures occur. This logging will write to a Teradata table.

2) use Query logging on the id that is executing the stored procedure. It will show you all the queries executed within the stored procedure. It will also have the error codes for the failed statements


I am sure there are other ways.


Thanks,

Bob Diehl



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020