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.
Author |
Topic |
sobha123
Starting Member
1 Post |
Posted - 2009-01-29 : 08:11:03
|
hi, i am having a requirement like there will be startdate and enddate for many processes i have to find the avg of that startdate and enddate.the output should be in date format how many days it differ. can anyone help me. thanks, sobha. |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-01-29 : 08:19:06
|
SELECT DATEDIFF(DAY, @StartDate, @EndDate) E 12°55'05.63"N 56°04'39.26" |
 |
|
|
|
|