What is the problem of choosing a day for Oracle?

in oracle, does add_days ({sysdate},-1) push forward one day according to the current time? for example, if it is now 16 sysdate 00, do you get it from 16:00 yesterday to 16 sysdate 00 today, or from 0:00 yesterday to 24:00?-sharp-sharp-sharp problem description

?

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jun.03,2021

oracle date types can be added or subtracted directly. There is no add_days function, such as

.
select sysdate - 1 from dual;

the result returned is the current point in time yesterday

Menu