This inspection reports illegal cursor states inside SQL routines.