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 |
|
magmo
Aged Yak Warrior
558 Posts |
Posted - 2008-06-14 : 08:33:50
|
| How can I remove the time part from a datetime column when making a select statement? |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-06-14 : 10:31:40
|
SELECT DATEDIFF(DAY, DATEADD(DAY, '19000101', YourDateTimeVulue), '19000101') E 12°55'05.25"N 56°04'39.16" |
 |
|
|
magmo
Aged Yak Warrior
558 Posts |
Posted - 2008-06-14 : 11:44:56
|
| Great, Thanks a lot Peso! |
 |
|
|
|
|
|