Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

CAST,CONVERT and SUBSTRING

$
0
0

Hi,

I have a coumn called Date

DAte: 2014-05-12 00:00:00.000 (yyyy-mm-dd time)

Now i need to change this to two Column called Season and DateMM

where 

DateMM: 201405 (yyyymm) and 

season : FA14  ( since its a fifth month I want to call it as FA  and the 14 is from 2014).

Anyone who can help?


SPPandey



Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>