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 |
|
avmreddy17
Posting Yak Master
180 Posts |
Posted - 2008-10-29 : 14:23:02
|
| Help in converting VARCHAR to Datetime OrderDateTime--------------------------------20080926 11:03:04.296309 -0400sOutput2008-09-26 11:03:04.296Thx |
|
|
hanbingl
Aged Yak Warrior
652 Posts |
Posted - 2008-10-29 : 14:45:04
|
| select cast(left(OrderDateTime,21) as datetime) from tabl |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|