I am trying to use SQL Agent tokens to specify the output file name within a SQL Agent job, for example:
F:\SQLLogs\Daily_Batch_$(ESCAPE_SQUOTE(STRTDT))_$(ESCAPE_SQUOTE(STRTTM)).log
However the STRTTM and TIME tokens are not producing HHMMSS output as expected, the hour component has leading zeros omitted.
Does anyone know of a way to configure this?