I am using a between command in an sql statement. If I go to my SQL server manager and enter the command directly, Select * From members where DOB between 08/28/2007 and 08/28/2007, I get back all those records that are have the DOB 08/28/2007.
However if I run the same statement from my code, I cannot get any of the values for the DOB 08/28/2007, if I change the between command from the 08/27/2007 and 08/29/2007 I get the records that I am looking for.
Any suggestions in regards to the difference? Alternatively, is their some inclusive command I can include?
Mike55.
However if I run the same statement from my code, I cannot get any of the values for the DOB 08/28/2007, if I change the between command from the 08/27/2007 and 08/29/2007 I get the records that I am looking for.
Any suggestions in regards to the difference? Alternatively, is their some inclusive command I can include?
Mike55.