<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to add comment inside DBMS_JOB &#8220;Interval&#8221; field?</title>
	<atom:link href="http://oraqa.com/2006/01/24/how-to-add-comment-inside-dbms_job-interval-field/feed/" rel="self" type="application/rss+xml" />
	<link>http://oraqa.com/2006/01/24/how-to-add-comment-inside-dbms_job-interval-field/</link>
	<description>Oracle Question and Answer</description>
	<lastBuildDate>Sat, 07 Aug 2010 04:48:56 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Claudiu Ariton</title>
		<link>http://oraqa.com/2006/01/24/how-to-add-comment-inside-dbms_job-interval-field/comment-page-1/#comment-87</link>
		<dc:creator>Claudiu Ariton</dc:creator>
		<pubDate>Wed, 25 Jan 2006 08:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://oraqa.com/2006/01/24/how-to-add-comment-inside-dbms_job-interval-field/#comment-87</guid>
		<description>Hello

Use the natural way:

set serveroutput on

declare
  job_num integer;
begin
  dbms_job.submit (job_num,&#039;t;&#039;,trunc(sysdate)+1+7/24,&#039;trunc(sysdate)+1+7/24 /*7:00 a.m. daily */&#039;,FALSE);
  dbms_output.put_line(&#039;Job number=&#039;&#124;&#124;to_char(job_num));
  end;
/

Job number=62

execute dbms_job.run(62);

select to_Char(next_date,&#039;DD-MM-YYYY HH24:MI:SS&#039;) next_date,interval from user_jobs where job=62
/

NEXT_DATE
-------------------
INTERVAL
------------------------------------------------------------------------

26-01-2006 07:00:00
trunc(sysdate)+1+7/24 /*7:00 a.m. daily */

Best regards,
Claudiu Ariton</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>Use the natural way:</p>
<p>set serveroutput on</p>
<p>declare<br />
  job_num integer;<br />
begin<br />
  dbms_job.submit (job_num,&#8217;t;&#8217;,trunc(sysdate)+1+7/24,&#8217;trunc(sysdate)+1+7/24 /*7:00 a.m. daily */&#8217;,FALSE);<br />
  dbms_output.put_line(&#8217;Job number=&#8217;||to_char(job_num));<br />
  end;<br />
/</p>
<p>Job number=62</p>
<p>execute dbms_job.run(62);</p>
<p>select to_Char(next_date,&#8217;DD-MM-YYYY HH24:MI:SS&#8217;) next_date,interval from user_jobs where job=62<br />
/</p>
<p>NEXT_DATE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
INTERVAL<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>26-01-2006 07:00:00<br />
trunc(sysdate)+1+7/24 /*7:00 a.m. daily */</p>
<p>Best regards,<br />
Claudiu Ariton</p>
]]></content:encoded>
	</item>
</channel>
</rss>
