Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exception Handler in Teradata Stored Procedure

Status
Not open for further replies.

anusha2

IS-IT--Management
Nov 19, 2010
1
US
I have an exception handler already defined in my stored procedure which will capture the error code and error message and load them in an error table.

What I want is, suppose my update statement in the stored procedure fails for a particular serial number, I want to capture that also in my error table along with the error code and error message.

Can I do that in Teradata stored procedure and if yes, could you please provide me with a code sample?

Thank You!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top