ALTER TABLE mytable ADD lastmodified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
References :
php - How to get ID of the last updated row in MySQL? - Stack Overflow
沒有留言:
張貼留言