Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Time Differance Caluclation
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

New Zealand
185 Posts

Posted - 09/05/2007 :  18:58:54  Show Profile  Send rikleo2001 a Yahoo! Message  Reply with Quote
Guys, a quick question.

One field with Time from 12 am TILL 1159 PM


I want to calculate differnace from from 1 entry and second entry, then between second and third and so on.....

12:00:01 0
12:00:10 10
12:00:20 10
23:59:30 2640

I want this through one query?

Any help or guidelines please?

Thanks in advance..


Koji Matsumura
Posting Yak Master

141 Posts

Posted - 09/05/2007 :  21:47:18  Show Profile  Reply with Quote
Please post ddl and sample data.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000