title: How to create start date and end date with SQL?
body: <pre><code>string st = '01/2012' (MM/yyyy)
  </code></pre>
  
  <p>I want to get the data between 01/01/2012 and 31/01/2012</p>
  
  <p>How to create a start date and end date according to month and year format?</p>
  
  <p>For Example</p>
  
  <pre><code>st = 02/2012
  
  Select * from table where dates between 01/02/2012 and 29/02/2012
  </code></pre>
  
  <p>How to make a query for adding start and end date of the month?</p>