문제

Is there a way to raise errors inside of Teradata stored procedures?

For example, I want to check if a table is empty. If the table is empty I wish to cause the stored procedure to error out with the error message "Table Empty".

That will allow me to bubble up the error to the calling application.

도움이 되었습니까?

해결책

TD13+ implements Standard SQL's SIGNAL/RESIGNAL.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top