Search notes:

msdb.dbo.sysjobsteps

select
   job.name              job_name,
   stp.step_id,
   stp.step_name,
   ------------------------------------------------------------------
   case when stp.last_run_date > 0 then
        msdb.dbo.agent_datetime(stp.last_run_date, stp.last_run_time)
   else
        null
   end                                                                last_run_date,
   ------------------------------------------------------------------
   stp.last_run_duration / 10000      * 3600 + 
  (stp.last_run_duration / 100 % 100) *   60 +
   stp.last_run_duration       % 100                                  last_run_duration_seconds,
   ------------------------------------------------------------------
   case stp.last_run_outcome
        when 0 then 'failed'
        when 1 then 'succeeded'
        when 2 then 'retry'
        when 3 then 'canceled'
        when 5 then 'unknown'
        else        '?'
   end                                                               last_run_outcome,
   ------------------------------------------------------------------
   stp.cmdexec_success_code,
   stp.last_run_duration,
   stp.subsystem,
   stp.command,
   stp.database_name,
   stp.database_user_name,
   stp.output_file_name,
   stp.step_uid
from
   msdb.dbo.sysjobsteps  stp                             join
   msdb.dbo.sysjobs      job on stp.job_id = job.job_id
;
Github repository about-MSSQL, path: /administration/system-databases/msdb/tables/sysjobsteps/select.sql

See also

The history of job steps is recorded in msdb.dbo.sysjobhistory

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759391603, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQL-Server/administration/system-databases/msdb/dbo/tables/sysjobsteps(73): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78