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

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 How Do I Get More Accuracy?

Author  Topic 

mikebird
Aged Yak Warrior

529 Posts

Posted - 2008-10-24 : 05:31:56
datediff(hh, date_submitted, closed_date)

is what I'm using. How do I get more decimal places after it? Jest seeing eg. 48 at present...

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-10-24 : 05:39:35
datediff(ss, date_submitted, closed_date)
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-10-24 : 05:41:23
quote:
Originally posted by mikebird

datediff(hh, date_submitted, closed_date)

is what I'm using. How do I get more decimal places after it? Jest seeing eg. 48 at present...


Post sample data with expected result

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-10-24 : 05:42:20
datediff(minute, date_submitted, closed_date) / 1440.0E0


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -