How to get current date & time in MySQL?

后端 未结 10 1211
情深已故
情深已故 2020-11-29 17:18

Is there a value or command like DATETIME that I can use in a manual query to insert the current date and time?

INSERT INTO servers (
  server_name, online_         


        
10条回答
  •  感动是毒
    2020-11-29 17:47

    INSERT INTO servers (server_name, online_status, exchange, disk_space, network_shares)
    VALUES('m1','ONLINE','exchange','disk_space','network_shares', NOW())
    

提交回复
热议问题