signal and resignal

The difference is this:
for SIGNAL
1) the SQLSTATE must be stated unless signalling a named condition
2) can be placed anywhere
For RESIGNAL
1) Must be in condition handler
2) SQLSTATE is optional, if omitted will use sqlstate that caused condition handler to execute.

你可能感兴趣的:(Signal)