Zarri Zarri - 1 year ago 82
SQL Question

Access data from database between two dates using sql

I want to access data from database between two dates, Date format is yyyy/mm/dd.I tried a lot of queries but not succeed.
Please help me out...Thanks!

Answer Source

Try following query to get data between the range:

FROM    Table_Name
WHERE   From_date >= '2016-08-01' AND
        To_date   <= '2016-08-30'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download