Solved

updating sql on a job in dba_scheduler_job

Posted on 2013-06-10
3
511 Views
Last Modified: 2013-06-10
I want to update the sql for a specific job under dba_scheduler_jobs but I have no access to Enterprise Manager. How would I go about updating this job?

Thanks.
0
Comment
Question by:themeeper1
3 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 39235052
Using either SQL Developer or Toad, lookup the job, find the sql that is called. A job usually calls a function or stored procedure, you have to look into that.
0
 

Author Comment

by:themeeper1
ID: 39235084
I see the job under sqldeveloper and the sql attached to it. How do I update the sql under job_action? I tried to do an update but received errors. Do I use dbms_scheduler and some sort of update statement to recreate that job?
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39235106
You can change parameters with dbms_scheduler.set_attribute:
http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#CIHDAIIH
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now