Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 12th, 2012  |  syntax: None  |  size: 0.16 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How convert DateMask to style  in T-SQL?
  2. CONVERT( datetime, '2012/07/14', getStyleFromMask('yyyy/MM/dd'))
  3.        
  4. select convert(datetime, '2012/07/14', 111)