trigger before update-cancel update
i have a before update trigger on a table, i have an if statement inside, i want if the "if statement" is valid to cancel the update so that it doesnt happen.
how do i cancel the update in the trigger?what must i write?
thks