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 |
sqllearner
Aged Yak Warrior
639 Posts |
Posted - 2007-02-20 : 13:16:19
|
What is the best way to store the time (without the date)in the sql server database. |
|
X002548
Not Just a Number
15586 Posts |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-02-20 : 15:19:39
|
declare @dt datetimeselect @dt = '20070221 15:33:51'select @dt, @dt - cast(@dt - 0.50000004 as int)Peter LarssonHelsingborg, Sweden |
 |
|
|
|
|