To fetch the Day of the week (ex: Monday) , use below sample SQL as reference
Query:
select
to_char(sysdate,'Day', 'nls_date_language = english') curr_day
from dual
Result:
CURR_DAY
Saturday
Query:
select
to_char(sysdate,'DAY', 'nls_date_language = english') curr_day
from dual
Result:
CURR_DAY
SATURDAY
I hope this explains how to fetch the name of the Day in SQL. If you have any questions, please post it in the comments section.
Nice explanation of how to fetch the day in words using SQL
ReplyDelete