Click here to Skip to main content
15,890,557 members
Home / Discussions / Database
   

Database

 
QuestionHow to avoid specification of return parameters in an inline table function Pin
jophinmichael24-Jun-10 3:05
jophinmichael24-Jun-10 3:05 
QuestionLogin Fail for user 'XYZ' Pin
Sasmi_Office24-Jun-10 2:19
Sasmi_Office24-Jun-10 2:19 
QuestionRe: Login Fail for user 'XYZ' Pin
Chris Meech24-Jun-10 2:53
Chris Meech24-Jun-10 2:53 
AnswerRe: Login Fail for user 'XYZ' Pin
Sasmi_Office24-Jun-10 4:38
Sasmi_Office24-Jun-10 4:38 
GeneralRe: Login Fail for user 'XYZ' Pin
Chris Meech24-Jun-10 4:46
Chris Meech24-Jun-10 4:46 
Questionsql function to calculate work hours Pin
Athira.G.Krishnan24-Jun-10 2:11
Athira.G.Krishnan24-Jun-10 2:11 
AnswerRe: sql function to calculate work hours Pin
Scubapro24-Jun-10 4:18
Scubapro24-Jun-10 4:18 
AnswerRe: sql function to calculate work hours Pin
David Mujica24-Jun-10 6:16
David Mujica24-Jun-10 6:16 
Things you may want to consider when designing a system which includes a start time and end time:

1) Store both the date and time. This will make it much easier to determine if a shift crosses a midnight boundary.

2) Use the concept of a "End of Day" time. For example, lots of manufacturing sites use 11pm (23:00) because they consider anyone working after 11pm to be working the next day.

3) Also take into consideration a "Pay Date", typically this is what is considered the day the person works (and gets paid for). For example if your worker starts his shift on Friday at 7pm and works into Saturday morning, he would be paid for working Friday. Not 2 different pay days. (Fri & Sat)

Best of luck.
GeneralRe: sql function to calculate work hours Pin
CitrusTech24-Jun-10 21:01
CitrusTech24-Jun-10 21:01 
QuestionGroup By 30 Minutes Pin
It_tech23-Jun-10 23:42
It_tech23-Jun-10 23:42 
AnswerRe: Group By 30 Minutes Pin
Mycroft Holmes24-Jun-10 1:04
professionalMycroft Holmes24-Jun-10 1:04 
GeneralRe: Group By 30 Minutes Pin
It_tech24-Jun-10 2:59
It_tech24-Jun-10 2:59 
AnswerRe: Group By 30 Minutes Pin
J4amieC24-Jun-10 3:31
J4amieC24-Jun-10 3:31 
GeneralRe: Group By 30 Minutes Pin
It_tech24-Jun-10 3:56
It_tech24-Jun-10 3:56 
GeneralRe: Group By 30 Minutes Pin
J4amieC24-Jun-10 6:15
J4amieC24-Jun-10 6:15 
GeneralRe: Group By 30 Minutes Pin
It_tech24-Jun-10 6:20
It_tech24-Jun-10 6:20 
GeneralRe: Group By 30 Minutes Pin
Mycroft Holmes24-Jun-10 11:49
professionalMycroft Holmes24-Jun-10 11:49 
GeneralRe: Group By 30 Minutes Pin
It_tech25-Jun-10 0:50
It_tech25-Jun-10 0:50 
QuestionTrigger Issue Pin
Elizma23-Jun-10 23:08
Elizma23-Jun-10 23:08 
AnswerRe: Trigger Issue Pin
Mycroft Holmes24-Jun-10 1:09
professionalMycroft Holmes24-Jun-10 1:09 
QuestionHow to deny accessing from OleDb Provider when Excel is opening? Pin
[N][Q][H]23-Jun-10 16:35
[N][Q][H]23-Jun-10 16:35 
AnswerRe: How to deny accessing from OleDb Provider when Excel is opening? Pin
Mycroft Holmes23-Jun-10 17:25
professionalMycroft Holmes23-Jun-10 17:25 
AnswerRe: How to deny accessing from OleDb Provider when Excel is opening? Pin
_Damian S_23-Jun-10 17:28
professional_Damian S_23-Jun-10 17:28 
AnswerRe: How to deny accessing from OleDb Provider when Excel is opening? Pin
[N][Q][H]23-Jun-10 17:37
[N][Q][H]23-Jun-10 17:37 
QuestionOnly one expression can be specified in the select list when the subquery is not introduced with EXISTS. Pin
Naunt22-Jun-10 16:01
Naunt22-Jun-10 16:01 

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.