SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
select CONVERT(datetime, convert(varchar(10), 20120103))