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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Convert it to proper datetime

Author  Topic 

ashishashish
Constraint Violating Yak Guru

408 Posts

Posted - 2011-02-15 : 01:17:50
I have a string like this...
20110214 085459997
i like to convert it into proper datetime value like
2011-02-14 08:54:59.997

iF theRe iS a wAy iN tHen theRe iS a wAy oUt..

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2011-02-15 : 03:20:43
See this topic
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=156544



N 56°04'39.26"
E 12°55'05.63"
Go to Top of Page
   

- Advertisement -