Docker, SQL Server and the “Exited (1)” status

For one of my pet projects, I need to use a simple SQL Server database to store the data. As I wanted to do it for a long time, I’ve decided to use docker to get a SQL Server container. I don’t know by heart the command line to setup the container (pulling the image… Continue reading

[SQL Server] Check if a job has already been started or scheduled

I’m currently working on a big .NET Core application that is using SQL Server jobs to perform some background tasks. Today, I encountered an issue when I tried to start the job two times: SQLServerAgent Error: Request to run job XXX (from User YYYY) refused because the job already has a pending request from User… Continue reading