Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

automatically update database last seen datetime in sql

ALTER TABLE  `test_time` ADD  `dt` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP
Source by www.plus2net.com #
 
PREVIOUS NEXT
Tagged: #automatically #update #database #datetime #sql
ADD COMMENT
Topic
Name
8+9 =