SQL DATENAME

SQL Server DATENAME function is used to extract or display specified date parts from the existing date. This SQL DATENAME function always returns String data. For example, If you want to extract the month name or day name (Sunday .. Saturday) from the existing Date, use this Datename function. SQL DATENAME Syntax The basic syntax … Read more