Home Forums SQL Server 2008 SQL Server 2008 - General Need to get YYYYMM from date ? RE: Need to get YYYYMM from date ?
balajisrm
Right there with Babe
Points: 723
More actions
September 15, 2012 at 8:59 am
#1538276
But this one is not working for SELECT CONVERT(CHAR(6), '2012-09-15', 112);
i mean When we provide a hard coded date.