Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have multiple Date fields like, AdmissionDate, DischargeDate,AppointmentDate, BookingDate and so on for past 10 years, in a Single Table. How could i write the script to load the dates only for the year 2020.
Should be done in Backend.
for example
... Where Year(AdmissionDate)=2020
?
there are more than 15 date field columns
You will need some kind of where statement, but you also need to decide on how to handle transactions where one of the dates fields are in 2020 but another field is 2019 or 2021.
AdmissionDate, DischargeDate,AppointmentDate, BookingDate have dates starting from 05/13/2013 to till date, i need to select dates which belong to the year 2020 using backend, where in front end can be done set analysis.
please post some sample data and your expected result