Viewing 13 posts - 1 through 13 (of 13 total)
Hi 🙂 regarding the time yes sometimes they do work straight due to work demand...
The Lunch break is fixed Lunch start at 12 and it ends at 1 but sometimes...
January 11, 2016 at 12:50 am
Hi sorry for confuse you about the question:
1. How can i get the Log In and Log out based on their official time (with shifting)?
2. How to to get the...
January 10, 2016 at 9:04 pm
ChrisM@Work (10/4/2013)
---------------------------------------------------------------------------------- Modified sample dataset
--------------------------------------------------------------------------------
DROP TABLE EMPTMS
CREATE TABLE EMPTMS
(Uidfirstname varchar (50),
Uidlastname varchar(50),
Reader int,
dtdate datetime);
SET DATEFORMAT YMD
INSERT INTO EMPTMS (uidfirstname, uidlastname, reader, dtdate) VALUES
('001','Alvin','1','2013-09-20 6:30:000 '),
('001','Alvin','2','2013-09-20 17:50:000 '),
('001','Alvin','1','2013-09-21 6:30:000 '),
('001','Alvin','2','2013-09-21...
October 4, 2013 at 6:50 pm
David Burrows (10/4/2013)
Based in Chris' data
001Alvin12013-09-20 06:30:00.000
001Alvin22013-09-20 17:50:00.000
001Alvin12013-09-21 06:30:00.000
001Alvin22013-09-21 17:50:00.000
002Rebecca12013-09-20 22:10:00.000
002Rebecca22013-09-21 07:30:00.000
002Rebecca12013-09-21 22:10:00.000
002Rebecca12013-09-21 23:10:00.000
002Rebecca22013-09-22 07:30:00.000
002Rebecca22013-09-24 07:30:00.000
002Rebecca12013-09-25 22:10:00.000
002Rebecca22013-09-26 07:30:00.000
002Rebecca12013-09-28 22:10:00.000
003Aliyah12013-09-20 09:08:00.000
What should the output look like?
Hi the output should be...
October 4, 2013 at 6:38 pm
ChrisM@Work (10/4/2013)
Hi Sharon,reader 1 is IN, reader 2 is OUT?
yes sir..
October 4, 2013 at 3:30 am
So you have two readers which can record a stamp but you don't know if the stamp is for entry or exit, so the reader id is irrelevant?
Do you...
October 4, 2013 at 2:28 am
Hi wolfkillj sorry for confusing everyone. Our system has installed 2 readers at the Main door which everyone use punch as an access . thats is the reason why employee...
October 4, 2013 at 12:39 am
Hi wolfkillj thank you for helping me find solution to my problem.
i tried your script and it was ok, but i found something wrong. I tried to add 1 log...
October 2, 2013 at 6:34 pm
Hi SSCertifiable thanks for the comment here is the query;
CREATE TABLE EMPTMS
(Uidfirstname varchar (50),
Uid1lastname varchar(50),
Reader int,
dtdate datetime
);
INSERT INTO EMPTMS
(uidfirstname,uidlastname,reader,dtdate)
VALUES ('001','Alvin','1','2013-09-20 6:30:000 ')
INSERT INTO EMPTMS
(uidfirstname,uidlastname,reader,dtdate)
VALUES ('001','Alvin','2','2013-09-20 17:50:000 ')
INSERT INTO...
October 1, 2013 at 8:52 am
Hi sqlnaive, thank you for your reply, but unfortunately thr script found some error. The NULL was filled with the wrong timeout or timein.
thanks
October 1, 2013 at 8:00 am
Hi SSC-Enthusiastic, thanks for your help, i tried your suggested script it was ok, unfortunately i encounter a problem. if an employee forgot to logout his/her wont come out to...
October 1, 2013 at 1:25 am
Hi Luis thanks for the reply, yes i dont have a column for the shifting schedule. would you mind to give me some script sample to get the correct output?
thank...
September 30, 2013 at 10:17 pm
Viewing 13 posts - 1 through 13 (of 13 total)