can anyone help me, am facing some problem with the datetime function in the sql
see I have some records on the dates from 01/30/2012 to 02/21/2012 only, I need to get the datas in between these two dates, If I give 01/01/2012 as starting date and 12/01/2012 as ending date it shows all the datas correctly, but If I give 01/30/2012 as starting date and 02/21/2012 as ending date it shows only two records on 01/30/2012 and on 02/21/2012……what happened to the other records, how can I solve this problem………thanks in advance
Depending on your table structure you could do either
or