title: SQL: How to convert date: yyyy/mm/dd hh:mm:ss.sssss to : yyyy-mm-dd hh:mm:ss
body: <p>I am trying use CAST and CONVERT, but I didn't get it right.</p>
  
  <pre><code>convert(nvarchar, my_date, 121);
  </code></pre>
  
  <p>Exemple:</p>
  
  <pre><code>convert(nvarchar,my_date,121) as new_date_format;
  </code></pre>