Hi
Happy new year to you all,
I cam back after the xmas break to find that one of my date functions isnt working and im unsure why.
This is the code as it is in query Analyzer:
select (convert(char(4),year(getdate())) + '-' + cast(replace(str(Month(DATEADD(DAY,-6,getdate())),2),' ','0') as...