Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Attendance Data In and Out for Shift Rotation.

$
0
0

Hi there.

I m working on attendance system. I have a table whch stores attendance data. 

the structure of the table is Indate, Intime, Outtime, EntryType, 1 for In and 2 for Out.

MIN and MAX queris working fine for a single day shift. but when the day changes

like In = 02/01/2015 5:00 PM and Out= 03/01/2015 6:00 AM then it gives wrong result. also if user left to swipe In/out then this also gives worng result. 

can anybody gives a good idea to tacke both the situtations.

Thanks in adv.



Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>