title: Update sql date field in mssqlserver with YYYY-MM-DD format
body: <p>Hi I would like to ask you how to write a statement that will update the date field in database;
  I have a table that contains one row and one of the valaues is in</p>
  
  <p><code>YYYY-MM-DD HH:MM:SS.MMM</code></p>
  
  <p>Where MMM is a part of second. How to  write it?</p>