0
I am redoing the question because I could not get the desired result, I would like to select in the field date but the between is not working, I believe it is due to my date field being in VARCHAR format, I tested the code below:
("SELECT * FROM caixa WHERE data BETWEEN '01/05/2017' AND '31/05/2017'");
however he selected all records and not only those that had date between 01/05/2017 and 31/05/2017.
The format you are writing to varchar is dd/mm/yyyy ?
– Don't Panic
yes. is in the same format as the code above.
– Wel