Which of the following queries is used to display the week day name for the current date?
select datename(dayname,getdate()) as 'weekdayname'
select datename(day,getdate()) as 'weekdayname' ;
None of the above.
datname function returns weekdayname like Monday,Tuesday etc.. When weekday is passed as a first parameter
Back To Top