Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

SELECT on year month only in '2013-Jan' format?

$
0
0

Hi,

is there a way of selecting on year month only in sql when the format of the date passed is '2013-Jan'. I'm not sure at the moment if I have any control of the date format passed so wanted to explore the sql options.

using sql server 2008 r2

thanks,


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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