title: How to change date format of datetime data type in SQL?
body: <p>My date format of <code>"03-01-2017 10:24:48"</code> is getting stored in SQL as <code>"2017-03-01 10:24:48.000"</code> where my <code>'dd-mm-yyyy'</code> format is getting converted to <code>'yyyy-mm-dd'</code> format.</p>
  
  <p>How can I change the date format of the column to my desired format? My table already contains data.</p>