title: To_Date Function Migration from oracle to SQL Server
body: <p>I am migrating my oracle database to SQL Server. What is the easiest way to convert <code>to_date</code> functions? I have many sql which use <code>to_date</code>.</p>
  
  <p>For example I have an update query. It contains following line.What can be solution to convert it to SQL Server 2008 with minimum effort?</p>
  
  <p>Sample Query Line</p>
  
  <pre><code>LAST_LOGIN=to_date('" &amp; m_LAST_LOGIN &amp; "','DD.MM.YYYY HH24:MI:SS') ") 
  </code></pre>