The SIGNAL statement signals an error or warning condition. It causes an error or warning to be returned with the specified SQLSTATE and optional condition-information-items.
For more information, see SIGNAL in the SQL Reference topic in the Information Center.