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 |
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2009-11-18 : 02:46:09
|
| how can i update a datefield - but just change the time and not the date update table1 set mydate=(current date) 23:50 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-11-18 : 03:53:45
|
| update table1 set mydate=dateadd(day,datediff(day,0,getdate()),'23:50')MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|