Click here to Skip to main content
15,912,578 members
Home / Discussions / Database
   

Database

 
AnswerRe: Help!! Pin
nelsonpaixao16-Sep-08 14:34
nelsonpaixao16-Sep-08 14:34 
QuestionMultiple select in 1 query Pin
Agweet15-Sep-08 21:48
Agweet15-Sep-08 21:48 
AnswerRe: Multiple select in 1 query Pin
N a v a n e e t h15-Sep-08 21:55
N a v a n e e t h15-Sep-08 21:55 
QuestionRemoving spaces using query Pin
M Riaz Bashir15-Sep-08 19:24
M Riaz Bashir15-Sep-08 19:24 
AnswerRe: Removing spaces using query Pin
Ashfield15-Sep-08 20:12
Ashfield15-Sep-08 20:12 
Questionhelp! Spliting Time spent on business hours and after hours Pin
CandyHe15-Sep-08 12:11
CandyHe15-Sep-08 12:11 
AnswerRe: help! Spliting Time spent on business hours and after hours Pin
Blue_Boy15-Sep-08 12:38
Blue_Boy15-Sep-08 12:38 
GeneralRe: help! Spliting Time spent on business hours and after hours [modified] Pin
CandyHe15-Sep-08 13:26
CandyHe15-Sep-08 13:26 
Hi,

Thank you for your response.

I think I didn't explan it very well.

shall i explan the problem more in detail? for example, the job_time table contains following data

Job_id, Start_Datetime, End_Datetime, [Time_spent__hrs_]
1, 2001-08-20 00:00:00.000, 2001-08-21 00:00:00.000, 24.000000
2, 2001-08-21 00:00:00.000, 2001-08-21 12:00:00.000, 12.000000
3, 2001-08-20 08:00:00.000, 2001-08-21 10:00:00.000, 26.000000
4, 2001-08-13 13:00:00.000, 2001-08-17 15:00:00.000, 98.000000
5, 2001-07-18 12:00:00.000, 2001-07-18 17:00:00.000, 5.000000
6, 2001-08-24 08:30:00.000, 2001-08-24 17:30:00.000, 9.000000


I want to split the time spent hours into 2 fames, how many hours spent with in 8:30 - 17:00 & 17:01 - 8:29

Thank you

modified on Monday, September 15, 2008 7:34 PM

GeneralRe: help! Spliting Time spent on business hours and after hours Pin
Blue_Boy15-Sep-08 16:37
Blue_Boy15-Sep-08 16:37 
AnswerA different approach to storing time Pin
David Mujica16-Sep-08 5:36
David Mujica16-Sep-08 5:36 
GeneralRe: A different approach to storing time Pin
David Mujica16-Sep-08 5:55
David Mujica16-Sep-08 5:55 
QuestionChecking if a field exists in a table before adding it to another table Pin
Twyce15-Sep-08 10:38
Twyce15-Sep-08 10:38 
AnswerSounds like homework, but ... Pin
David Mujica15-Sep-08 10:57
David Mujica15-Sep-08 10:57 
AnswerRe: Checking if a field exists in a table before adding it to another table Pin
Blue_Boy15-Sep-08 11:31
Blue_Boy15-Sep-08 11:31 
AnswerRe: Checking if a field exists in a table before adding it to another table Pin
Pete O'Hanlon15-Sep-08 11:46
mvePete O'Hanlon15-Sep-08 11:46 
Questionanyone can give me sample syntax or code in update using mysql in c#?? Pin
cutedrew15-Sep-08 8:02
cutedrew15-Sep-08 8:02 
AnswerRe: anyone can give me sample syntax or code in update using mysql in c#?? Pin
Blue_Boy15-Sep-08 8:43
Blue_Boy15-Sep-08 8:43 
Questionrun SQL server scripts from inside a C# code Pin
Sabry190515-Sep-08 1:17
Sabry190515-Sep-08 1:17 
AnswerRe: run SQL server scripts from inside a C# code Pin
Ashfield15-Sep-08 1:21
Ashfield15-Sep-08 1:21 
GeneralCombining Like and In Pin
Brady Kelly15-Sep-08 0:49
Brady Kelly15-Sep-08 0:49 
GeneralRe: Combining Like and In Pin
Blue_Boy15-Sep-08 0:54
Blue_Boy15-Sep-08 0:54 
Questionmax date without repeat in query Pin
mahmoudinirat15-Sep-08 0:26
mahmoudinirat15-Sep-08 0:26 
AnswerRe: max date without repeat in query Pin
Blue_Boy15-Sep-08 0:41
Blue_Boy15-Sep-08 0:41 
AnswerRe: max date without repeat in query Pin
Ashfield15-Sep-08 1:15
Ashfield15-Sep-08 1:15 
Questioninline table function Pin
bdl15-Sep-08 0:22
bdl15-Sep-08 0:22 

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.