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
 String data issue.

Author  Topic 

sreehari
Starting Member

37 Posts

Posted - 2007-03-14 : 13:52:41
Hi all

I have a column with the following data

Change Order 1887:MODIFIED EXPIRE_DATE TO 2007-10-26 00:00:00.000

Now i need to get only 2007-10-26 00:00:00.000 from the above string data.

Thanks

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-03-14 : 13:56:55
select right(@msg, 23)


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -