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
Use this:
SELECT convert(datetime, '2018-10-25 20:44:11.500', 121) -- yyyy-mm-dd hh:mm:ss.mmm
And refer to the table in the official documentation for the conversion codes.