User defined exception

Database
Enthusiast

User defined exception

Hi All,

Can anyone explain how to handle user defined exception in Teradata with an example? Like if output from a select statement equal to a predefined value (1 or 10) it will throw an error?

Tags (1)