custom date/time formatting sql server


i am perplexing stored way selects columns list adds 2 additional columns resultset. 2 additional columns outcome conversions domain list datetime field.



the datetime format domain following format 'yyyy-mm-dd hh:mm:ss.s'



the 2 additional fields should following format:




  1. ddmmm

  2. hhmmt, where t 'a' a.m. 'p' p.m.



example: information domain '2008-10-12 13:19:12.0' following extracted fields should contain:




  1. 12oct

  2. 0119p



i have attempted controlling modify twine formats, nonetheless zero formats review cost i wish get. i am pondering along lines extracting domain information around modify following controlling replace, nonetheless i definitely need assistance here, i am sure.



could anyone good capable stored procedures assistance me out here?
thanks!



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?