I have found the error, but now i get a new error.
closed is a field in table auction, so i don't understand why it can't find it.
mysql> CREATE TRIGGER updateAuction
-> BEFORE UPDATE ON auction
-> FOR EACH ROW
-> SET closed = 'true' WHERE current_date() > deadline;
ERROR 1193...
Hello,
I have just written a trigger, which changes a field in my table after a certain date was reached.
This is my trigger, including the error message:
mysql> create trigger closeAuction before insert on auction for each row begin update auction set closed = 'true' where current_date() >...
Hello,
I am designing a database but I have a problem because Access doesn~t seem to allow case sensitivity.
I have a field containing the component names and a field containing the connector names. The components have connectors named a and A, but it doesn~t allow me to enter a and A because...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.