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 |
|
DENIZ3E
Yak Posting Veteran
56 Posts |
Posted - 2005-11-15 : 01:51:59
|
| Hý,I have got a table and I want to add colomn(Time format --14:00--) in this table but ý DIDNT DO. |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-11-15 : 02:01:41
|
| Use DateTime datatype which stores both Date and TimeThere is no TIME data type in SQL ServerMadhivananFailing to plan is Planning to fail |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2005-11-15 : 02:07:06
|
| You can use any date for the date portion like '2000-01-01' or even '9999-12-31' when saving the time to the column.Just ignore the date portion in your front end apps. Or check out BOL on convert[KH] |
 |
|
|
chiragkhabaria
Master Smack Fu Yak Hacker
1907 Posts |
|
|
|
|
|