SQL Server convert date to String MMMYYDD -


im trying convert date value mmmyydd string format, using native sql server 2008 r2 function,

i checked here http://www.sql-server-helper.com/tips/date-formats.aspx

and still can't find matching format.

any ideas?

something this?

select convert(varchar(3), @date, 7) + convert(varchar(4), @date, 12) 

sql fiddle demo


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -