sql server - Date formatting in MS SQL -
i have change 1 date mon/yyyy
format. how can achieve in sql server?
using replace, right, , convert can results want:
select replace(right(convert(char(11), getdate(), 106), 8), ' ', '/')
results:
jul/2016
Comments
Post a Comment