Click here to Skip to main content
15,790,526 members
Home / Discussions / Database
   

Database

 
GeneralRe: Select with pivot !! Pin
User 1407655214-Jul-21 4:58
User 1407655214-Jul-21 4:58 
GeneralRe: Select with pivot !! Pin
CHill6014-Jul-21 5:09
mveCHill6014-Jul-21 5:09 
QuestionAbout MySQL table permission removal failed Pin
Member 1105472311-Jun-21 9:00
Member 1105472311-Jun-21 9:00 
AnswerRe: About MySQL table permission removal failed Pin
Richard Deeming13-Jun-21 23:09
mveRichard Deeming13-Jun-21 23:09 
QuestionSandwich Query For Employee Attendance using SQL Server 2005 Pin
Mohammad Salmani8-Jun-21 21:40
Mohammad Salmani8-Jun-21 21:40 
AnswerRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
Richard MacCutchan8-Jun-21 22:55
mveRichard MacCutchan8-Jun-21 22:55 
AnswerRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
SeeSharp29-Jun-21 2:35
SeeSharp29-Jun-21 2:35 
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
Mohammad Salmani9-Jun-21 4:08
Mohammad Salmani9-Jun-21 4:08 
I am having the below data in Attendance Table

EmpCode AttMonth AttYear AttDate ShiftCode AttStatus
1 6 2021 2021-06-01 00:00:00.000 1001 P
1 6 2021 2021-06-02 00:00:00.000 1001 P
1 6 2021 2021-06-03 00:00:00.000 1001 P
1 6 2021 2021-06-04 00:00:00.000 1001 P
1 6 2021 2021-06-05 00:00:00.000 1002 A
1 6 2021 2021-06-06 00:00:00.000 1009 WO
1 6 2021 2021-06-07 00:00:00.000 1001 A
1 6 2021 2021-06-08 00:00:00.000 1001 P
1 6 2021 2021-06-09 00:00:00.000 1001 P

I need to update 'WO' as 'A' while processing attendance

please help for the above.
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
SeeSharp29-Jun-21 4:39
SeeSharp29-Jun-21 4:39 
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
David Mujica9-Jun-21 5:25
David Mujica9-Jun-21 5:25 
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
Mycroft Holmes9-Jun-21 13:36
professionalMycroft Holmes9-Jun-21 13:36 
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
SeeSharp210-Jun-21 2:25
SeeSharp210-Jun-21 2:25 
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
Mycroft Holmes10-Jun-21 13:09
professionalMycroft Holmes10-Jun-21 13:09 
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
Mohammad Salmani10-Jun-21 22:53
Mohammad Salmani10-Jun-21 22:53 
GeneralRe: Sandwich Query For Employee Attendance using SQL Server 2005 Pin
SeeSharp211-Jun-21 2:20
SeeSharp211-Jun-21 2:20 
QuestionLoad JSON file from network location Pin
Member 144746073-Jun-21 8:36
Member 144746073-Jun-21 8:36 
AnswerRe: Load JSON file from network location Pin
Member 144746073-Jun-21 9:42
Member 144746073-Jun-21 9:42 
AnswerRe: Load JSON file from network location Pin
Mycroft Holmes3-Jun-21 13:15
professionalMycroft Holmes3-Jun-21 13:15 
QuestionSQL Server 2010, smalldatetime insert Pin
jkirkerx1-Jun-21 15:52
professionaljkirkerx1-Jun-21 15:52 
AnswerRe: SQL Server 2010, smalldatetime insert Pin
Mycroft Holmes1-Jun-21 22:31
professionalMycroft Holmes1-Jun-21 22:31 
AnswerRe: SQL Server 2010, smalldatetime insert Pin
Victor Nijegorodov1-Jun-21 22:49
Victor Nijegorodov1-Jun-21 22:49 
AnswerRe: SQL Server 2010, smalldatetime insert Pin
jkirkerx2-Jun-21 9:47
professionaljkirkerx2-Jun-21 9:47 
QuestionGet columns name Pin
_Flaviu28-May-21 0:55
_Flaviu28-May-21 0:55 
AnswerRe: Get columns name Pin
Victor Nijegorodov28-May-21 1:22
Victor Nijegorodov28-May-21 1:22 
GeneralRe: Get columns name Pin
_Flaviu3-Jun-21 6:57
_Flaviu3-Jun-21 6:57 

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.