title: How to stop the insertion of default date format 1900-01-01 in SQL Server when user input is null
body: <p>I have an input field in my application,which accepts date through date picker. Sometimes users do not select any date and they may submit blank (client requirement) as it's not a mandatory field. </p>
  
  <p>Once after blank submission the data which is stored into the SQL Server 2008 database is '1900-01-01'. Instead I need the data to be stored as 'NULL' or 'empty' or '0000-00-00' but not any other valid date format.</p>
  
  <p>If the <code>request.getparameter()</code> is empty, I tried to insert '0000-00-00'. But it is stopping the insertion.</p>
  
  <p>My aim is to insert either 'NULL' or '-' or '0000-00-00' when the user is submitting the blank field. Instead of '1900-01-01'.</p>