SQLServerCentral » Latest topics
Split DATE formatted 'YYYY-MM-DD' into Concatenated YEAR and MO field
Hello, I have a date field in the DATE in the format of 'YYYY-MM-DD' and how it is displayed, and I'm trying to split our Year and Month and concatenate into 'YYYYMM' format. I've tried DATEPART, DATEADD and other variations and I'm not quite gettin
No comments:
Post a Comment