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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -