MySQL Forums
Forum List  »  Newbie

Re: Automatic timezone assigned to inserted value
Posted by: Peter Brawley
Date: June 11, 2021 11:10AM

For the requirement you describe, you need ...

`Timestamp` timestamp NOT NULL DEFAULT now(),

All mysql function calls that can fail---eg statement.execute(...)---need error handling.

Options: ReplyQuote




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.