Can anyone help convert a Date in SQL Server 2016 to a string format, 'January 2024'? When I use the various methods below, the data in the CSV file still shows 01/0/2024.
FORMAT(COMPLETED_DATE, 'MMMM yyyy'))
or
datename(m,COMPLETED_DATE)+''+cast(datepart(yyyy,COMPLETED_DATE) as varchar)