Convert Date format into DD/MMM/YYYY format in SQL Server

I’m not sure there is an exact match for the format you want. But you can get close with convert() and style 106. Then, replace the spaces:

SELECT replace(convert(NVARCHAR, getdate(), 106), ' ', "https://stackoverflow.com/")

Leave a Comment