I came across a SQL query:
select IssuedDate, Convert(char(4), IssuedDate, 0)
from TempTable
and this is its output:
IssuedDate Null
----------------------------------
1964-02-17 00:00:00.0000000 Feb
2018-08-28 00:00:00.0000000 Aug
2018-08-28 00:00:00.0000000 Aug
2018-08-28 00:00:00.0000000 Aug
Can anyone please let me know how the convert
function is working and converting month number to month name?