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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-12-14 : 08:12:56
|
| Ahamed Tharik writes "Hi ,i need the fractional part of the difference beween two datesselect datediff(month,'02/02/2004','02/05/2004')Result 0 i need the fractional part for the above query.can anyone help me." |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2004-12-14 : 08:14:53
|
you need:set dateformat dmyselect datediff(month,'02/02/2004','02/05/2004')Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|