Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
I need to convert to desired output:declare @date1 varchar(13)set @date1='070810104503'select @date1Ouput:2007-08-10 10:45:03.000
dinakar
Master Smack Fu Yak Hacker
2507 Posts
Posted - 2007-07-19 : 14:49:42
You will prbly have to do concatenation using substring.Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/
sqldba2k6
Posting Yak Master
176 Posts
Posted - 2007-07-19 : 15:04:26
I tried with the below query the output is not showing correctly...