It was bad enough when I combined 5 stored procedures to produce one big happy report that exported as an excel spreadsheet that could be sorted and graphed. Now they want the email and the spreadsheet named (names have been changed to protect the innocent), "mickeymouse.xls" So for today (11/10/2016), they want "20161109 mickey mouse.xls". I can find @executetime but how do I get this to format as yesterday yymmdd? Any suggestions? I'm doing it manually for now and you know how that can go.
↧