emp_id |name|1 2 3 4 5 6 7 8 9............latst date of month.
001 |Rohon|L A P A A P P P P P.........
002 |Rabi |A A A A A A A A A A......
Know the answer? Post it. Somebody with the same question will find it here.
Francis SusaimichaelRank #466 · 5.4K reputationPosted Sep 24, 2015, 9:56 PM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 25, 2015, 12:06 AM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 25, 2015, 12:36 AM EDT
Deepak SainiRank #2,411 · 586 reputationPosted Sep 25, 2015, 12:55 AM EDT
CREATE FUNCTION GetAttendanceType
(@DifferenceValue nvarchar(15))
RETURNS varchar(30)
AS
BEGIN
declare @Return varchar(30)
select @return = case @DifferenceValue
if(@DifferenceValue>=420)end
return @return
end
Susanta RoutRank #1,557 · 1K reputationPosted Sep 25, 2015, 10:55 PM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 25, 2015, 10:55 PM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 25, 2015, 10:55 PM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 25, 2015, 10:55 PM EDT
Deepak SainiRank #2,411 · 586 reputationPosted Sep 27, 2015, 9:28 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts