MySQL Forums
Forum List  »  Newbie

Re: Recording TimeStamps for Employee
Posted by: Peter Brawley
Date: April 07, 2015 08:31AM

> multiple timeStamps to be logged for specific employees

One table is fine, eg given the table logins(empid int unsigned references employees, t timestamp default current_timestamp) and empid=15,

insert into logins set empid=15

adds a row for that empid with the current timestamp.



Edited 1 time(s). Last edit at 04/08/2015 10:22PM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: Recording TimeStamps for Employee
April 07, 2015 08:31AM


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.