title: Use TO_DATE in SQL Server 2012
body: <p>I have a problem. When I execute this SQL statement in SQL Server 2012:</p>
  
  <pre><code>TO_DATE('2011-11-09 00:00:00','YYYY-MM-DD HH24:MI:SS')
  </code></pre>
  
  <p>I get an error:</p>
  
  <blockquote>
    <p>'TO_DATE' not is a name de function integrate recognized.</p>
  </blockquote>
  
  <p>What is the solution? </p>
  
  <p>Thanks!</p>