mssqll query for current active jobs code example Example: mysql show long running queries show processlist;