Click here to Skip to main content
16,005,121 members
Home / Discussions / Database
   

Database

 
GeneralRe: locking on select Pin
Mycroft Holmes23-Oct-12 0:36
professionalMycroft Holmes23-Oct-12 0:36 
AnswerRe: locking on select Pin
kankeyan26-Oct-12 0:58
kankeyan26-Oct-12 0:58 
AnswerRe: locking on select Pin
Hitesh R5-Nov-12 22:42
Hitesh R5-Nov-12 22:42 
QuestionWrong retrieved attendance and leave data Pin
Amr Muhammed19-Oct-12 16:04
Amr Muhammed19-Oct-12 16:04 
AnswerRe: Wrong retrieved attendance and leave data Pin
Mycroft Holmes20-Oct-12 2:10
professionalMycroft Holmes20-Oct-12 2:10 
GeneralRe: Wrong retrieved attendance and leave data Pin
Amr Muhammed21-Oct-12 12:20
Amr Muhammed21-Oct-12 12:20 
GeneralRe: Wrong retrieved attendance and leave data Pin
Mycroft Holmes21-Oct-12 13:01
professionalMycroft Holmes21-Oct-12 13:01 
AnswerAssumed off Pin
David Mujica22-Oct-12 5:37
David Mujica22-Oct-12 5:37 
Consider this logic ...

A fingerprint swipe comes from the device

A query is made to the database as to the last time the employee has clocked on

If the employee has not clocked on in 16 hours (some value which represents the longest shift), then the tranasction should be considered an "ON" transaction; otherwise it must be an "OFF" transaction.

When querying your database, if you don't find matching On/Off transactions for a given shift, then you could have an "assumed Off" which is equal to the On time plus the scheduled duration of the shift.

To make this work, your really need to know the shift duration for the employee scheduled on a particular day.

Hope this helps.
AnswerRe: Wrong retrieved attendance and leave data Pin
Michael Potter22-Oct-12 8:04
Michael Potter22-Oct-12 8:04 
GeneralRe: Wrong retrieved attendance and leave data Pin
Amr Muhammed22-Oct-12 15:19
Amr Muhammed22-Oct-12 15:19 
QuestionReport of the SQL Server Agent, job scheduler Pin
vanikanc19-Oct-12 8:05
vanikanc19-Oct-12 8:05 
AnswerRe: Report of the SQL Server Agent, job scheduler Pin
fjdiewornncalwe19-Oct-12 9:07
professionalfjdiewornncalwe19-Oct-12 9:07 
QuestionCopy a tables to another database (Flashdisk) Pin
Richard.Berry10018-Oct-12 11:50
Richard.Berry10018-Oct-12 11:50 
AnswerRe: Copy a tables to another database (Flashdisk) Pin
R. Giskard Reventlov18-Oct-12 12:22
R. Giskard Reventlov18-Oct-12 12:22 
GeneralRe: Copy a tables to another database (Flashdisk) Pin
Richard.Berry10018-Oct-12 12:40
Richard.Berry10018-Oct-12 12:40 
GeneralRe: Copy a tables to another database (Flashdisk) Pin
R. Giskard Reventlov18-Oct-12 13:14
R. Giskard Reventlov18-Oct-12 13:14 
GeneralRe: Copy a tables to another database (Flashdisk) Pin
Richard.Berry10018-Oct-12 14:10
Richard.Berry10018-Oct-12 14:10 
AnswerCreate small db, then use backup Pin
David Mujica19-Oct-12 6:21
David Mujica19-Oct-12 6:21 
GeneralRe: Create small db, then use backup Pin
fjdiewornncalwe19-Oct-12 6:43
professionalfjdiewornncalwe19-Oct-12 6:43 
GeneralRe: Create small db, then use backup Pin
Richard.Berry10025-Oct-12 5:55
Richard.Berry10025-Oct-12 5:55 
Question10g to 11g migration. Pin
vanikanc17-Oct-12 7:44
vanikanc17-Oct-12 7:44 
AnswerRe: 10g to 11g migration. Pin
Eddy Vluggen17-Oct-12 9:31
professionalEddy Vluggen17-Oct-12 9:31 
QuestionHow to access window ? Pin
nghia09t317-Oct-12 5:27
nghia09t317-Oct-12 5:27 
AnswerRe: How to access window ? Pin
Eddy Vluggen17-Oct-12 9:32
professionalEddy Vluggen17-Oct-12 9:32 
GeneralRe: How to access window ? Pin
nghia09t317-Oct-12 12:47
nghia09t317-Oct-12 12:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.