I am getting below error while starting the SQl agent.
The SQL Server Agent (MSSQLSERVER) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
What I have tried:
i tried to use tsql but i dosent work