🔥 3-day streak
Microsoft Azure Database Administrator Associate130 / 144
Question 130 of 144

You maintain a SQL Server Agent job that runs a CmdExec step. The step uses the token $(ESCAPE_SQUOTE(SRVR)) to pass the server name to a batch file. After upgrading to a newer SQL Server version, the job step now fails immediately with an error stating that the job step contains an unsafe, unescaped token. Other steps that reference $(DATE) and $(TIME) run without error. What is the MOST likely cause and correct fix?

Reviewed for accuracy · Report an issueNext question