sql - Automating the scheduletable of jobs -


There was a table where we had the names of the nomenclature and the time of tahara was stored there, I will run a script which Runs and checks if any

Actually I want to create a script which will call my SQL query

For example, the name of the table is SCHEDULE. .column JOBNAME and COLUMN SCHEDULE_TIME to move and

rhythm Believing that the work was going on and when it was called "Joblo" and the actual time of every job is stored on that table in the column called "ACTUAL_TIME", then you will run something like:

It will show the jobs that were set, or the job which was set to last 10 or more minutes, but which have not yet started (in the latter case, the third column will be zero) < / P>

  f S.jobname, S.schedule_time, s.jobname = l.jobname, where l.actual_time & gt; S.schedule_time or (l.actual_time is zero and (sysdate - s.schedule_time) * 24 * 60> = 10)  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

c# - Create dynamic LINQ query expression at runtime which translates into a parameterized SQL query for nullable types -

cmake - cpack generates RPMs with %files entries that conflict with the RPM spec. How to fix? -