I want to convert a string like this:
\'10/15/2008 10:06:32 PM\'
into the equivalent DATETIME value in Sql Server.
In Oracle, I wou
Try this
Cast('7/7/2011' as datetime)
and
Convert(varchar(30),'7/7/2011',102)
See CAST and CONVERT (Transact-SQL) for more details.