If you use ... @rate_rank = :rate_rank OUTPUT ..
and your sp assigns / set the value now,
you do not need to FETCH .. INTO rate_rank.
The rate_rank should be filled after the execute.
If you use ... @rate_rank = :rate_rank OUTPUT ..
and your sp assigns / set the value now,
you do not need to FETCH .. INTO rate_rank.
The rate_rank should be filled after the execute.