Sage CRM SQL custom view seems to ignore formatting?

SOLVED

Hello,

I am generating a sales report from a custom view and the report seems to run ok, but it ignores things like capitalization and the removal of apostrophies and stuff like that. Has anyone experienced this? Please see attached images.

Through the code year and quarter should be capitalized via an AS statement, but they come through all lower case? And for some reason our year date formats with a comma. Any thoughts?

Thanks,

Jacob