[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

dbms job change

Posted on 2010-09-17
7
Medium Priority
?
642 Views
Last Modified: 2012-05-10
Hi ,
I need to change dbms job  from old schema to new schema . and set interval no and run immediate only once , how can change it .
any help would be appriciated.
Thanks
0
Comment
Question by:Smruti1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 33703117
you can't change the schemas of a dbms_job you will have to drop it from the current schema and recreate it in the new schema

you can change the interval and run it though...

begin
dbms_job.interval(your_job_number_here, null);
dbms_job.run(your_job_number_here);
commit;
end;
0
 

Author Comment

by:Smruti1
ID: 33703188
Thanks,

I mean  i need to change what --> BEGIN STEVENDEVINE.RTJOBS; END; here I  need to change rt09 from steve and  no interval and run immediate and no nextdate run ..

Thanks in advance.

0
 
LVL 74

Expert Comment

by:sdstuber
ID: 33703206
you can't change the schemas of a dbms_job you will have to drop it from the current schema and recreate it in the new schema
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Smruti1
ID: 33703593
Thanks, I changed it while using proxy connection and it did changed . but now how to monitor if its running or not. because used dba_jobs_running but its not showing up any run
Thanks
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 33703635
it will only appear in dba_jobs_running while the job is executing.

once it runs and completes it will disappear from the dba_jobs view too if it doesn't have an interval.

you can look in dba_jobs for the next_date of the job to see approximately when it will start.
0
 

Author Comment

by:Smruti1
ID: 33704066
it shows sysdate for next date. how can I change job need to run only once and next date to null. I used null for next date but it did not changed .
Thanks
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 2000 total points
ID: 33704099
to force a job to run only once you don't want to change the next_date,  you change the interval to null.

to force the job to run immediately, you call run


begin
dbms_job.interval(your_job_number_here, null);
dbms_job.run(your_job_number_here);
commit;
end;
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question