how to get day name from date in sql code example
Example 1: how to retrive the today date sql
select * from datetimes
where dtm >= cast((now()) as date)
and dtm < cast((now() + interval 1 day) as date)
;
Example 2: how to get date in sql
SELECT CURRENT_DATE from dual;