Throw an error in MySQL trigger
Translations
Englishالعربية
български
català
中文
čeština
dansk
Nederlands
eesti
suomi
français
Deutsch
Ελληνικά
עברית
हिंदी
magyar
Bahasa Indonesia
italiano
日本語
한국어
latviešu
lietuvių
norsk
polski
Português
română
русский
slovenčina
slovenski
español
svenska
ไทย
Türkçe
українська
Tiếng Việt
If I have a trigger BEFORE UPDATE on a table. How can I throw an error that prevents the update on that table?
This question and answers originated from www.stackoverflow.com
Question by maclema (8/1/2008 12:12:19 PM)
Answer |
Here is one hack that might work. Isn't clean, but it looks like it might work:
Essentially you just try to update a column that doesn't exist.
Answer by Justin
Find More Answers