MySQL Forums
Forum List  »  Triggers

Re: Why isn't this working?
Posted by: Peter Brawley
Date: April 14, 2021 09:54AM

My mistake, I misread the code.

"Timestamp" is a `Lighting Schedule` column? Or are you trying to set `Lighting`.`Last Updated` to the current time? In that case you need Current_Timestamp or Now().

And btw, spaces and other illegal chars in MySQL database identifier names are error opportunities; don't use them. Likewise Hungarian notation style capitalisation of MySQL identifier names... it opens yet more error opportunities.

Options: ReplyQuote


Subject
Views
Written By
Posted
712
April 13, 2021 11:54AM
401
April 13, 2021 02:54PM
346
April 14, 2021 09:24AM
Re: Why isn't this working?
329
April 14, 2021 09:54AM
347
April 14, 2021 10:26AM
342
April 14, 2021 02:06PM
351
April 14, 2021 04:06PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.