Click here to Skip to main content
15,892,537 members
Home / Discussions / Database
   

Database

 
GeneralRe: 2 basic transaction issues Pin
George_George15-Jan-09 22:42
George_George15-Jan-09 22:42 
GeneralRe: 2 basic transaction issues Pin
Wendelius16-Jan-09 9:07
mentorWendelius16-Jan-09 9:07 
AnswerRe: 2 basic transaction issues Pin
Ashfield15-Jan-09 21:02
Ashfield15-Jan-09 21:02 
GeneralRe: 2 basic transaction issues Pin
George_George15-Jan-09 21:24
George_George15-Jan-09 21:24 
GeneralRe: 2 basic transaction issues Pin
Ashfield16-Jan-09 1:17
Ashfield16-Jan-09 1:17 
GeneralRe: 2 basic transaction issues Pin
George_George15-Jan-09 21:38
George_George15-Jan-09 21:38 
GeneralRe: 2 basic transaction issues Pin
Ashfield16-Jan-09 1:18
Ashfield16-Jan-09 1:18 
QuestionTime Addition Problem Pin
AliAmjad14-Jan-09 19:22
AliAmjad14-Jan-09 19:22 
I am using the following code to Add up the difference of two time fields but It's not showing the correct record when the hours part increases above 24 means It shows the correct addition only if It's between 24 hours. For example

WaitingTimeTotal (hh:mm:ss)
----------------
03:18:46
03:25:06
________
06:43:52 which is correct but

WaitingTimeTotal (hh:mm:ss)
----------------
03:18:46
03:25:06
16:23:46
07:24:20
________
wrong answer!!!

The code i am using is


convert(varchar,convert(DateTime, SUM(convert(real, ConfTime - EnterTime))),108)WaitingTimeTotal


Can you please guide me. Thanks in advance !



AliAmjad(MCP)


First make it Run THEN make it Run Fast!

modified on Thursday, January 15, 2009 1:28 AM

AnswerRe: Time Addition Problem Pin
Wendelius15-Jan-09 4:13
mentorWendelius15-Jan-09 4:13 
GeneralDifference between MS SQL and ORACLE Pin
Subin Alex14-Jan-09 16:48
Subin Alex14-Jan-09 16:48 
GeneralRe: Difference between MS SQL and ORACLE Pin
Ashfield14-Jan-09 21:12
Ashfield14-Jan-09 21:12 
GeneralRe: Difference between MS SQL and ORACLE Pin
Wendelius15-Jan-09 0:41
mentorWendelius15-Jan-09 0:41 
GeneralRe: Difference between MS SQL and ORACLE Pin
Subin Alex15-Jan-09 2:52
Subin Alex15-Jan-09 2:52 
GeneralRe: Difference between MS SQL and ORACLE Pin
leckey15-Jan-09 5:12
leckey15-Jan-09 5:12 
QuestionDynamic Parameters in procedure Pin
monika_vasvani14-Jan-09 7:51
monika_vasvani14-Jan-09 7:51 
AnswerRe: Dynamic Parameters in procedure Pin
Wendelius14-Jan-09 8:01
mentorWendelius14-Jan-09 8:01 
AnswerBe careful with creating Dynamic SQL Pin
David Mujica14-Jan-09 8:43
David Mujica14-Jan-09 8:43 
AnswerRe: Dynamic Parameters in procedure Pin
RyanEK14-Jan-09 13:54
RyanEK14-Jan-09 13:54 
AnswerRe: Dynamic Parameters in procedure Pin
Ashfield14-Jan-09 21:17
Ashfield14-Jan-09 21:17 
QuestionWhat is the meaning of the return value and error message? Pin
George_George14-Jan-09 4:24
George_George14-Jan-09 4:24 
AnswerRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 4:39
mentorWendelius14-Jan-09 4:39 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 5:00
George_George14-Jan-09 5:00 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 5:48
mentorWendelius14-Jan-09 5:48 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 5:57
George_George14-Jan-09 5:57 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 6:25
mentorWendelius14-Jan-09 6:25 

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.