Why din I saw my job I submitted in user_jobs (oracle 9)?

Hi i executed the following code
exec :ecode:='';
exec :emesg:='';
declare
v_job user_jobs.job%type;
v_what user_jobs.what%type := 'SNAPSHOT;';
v_next_date user_jobs.next_date%type :=to_date('30-SEP-2008 23:59:59','DD-MON-YYYY HH24:MI:SS');
v_interval user_jobs.interval%type;
v_no_parse BOOLEAN default false;
v_instance user_jobs.instance%type:=0;
v_force BOOLEAN default false;
begin
     begin
          dbms_job.submit(
          JOB =>v_job,
          WHAT =>v_what,
          NEXT_DATE =>v_next_date,
          INTERVAL =>v_interval,
          NO_PARSE =>v_no_parse,
          INSTANCE =>v_instance,
          FORCE =>v_force
     exception
     when others then
          :ecode := SQLCODE;
          :emesg := SQLERRM;
     end;
     :v_job := v_job;
end;
print ecode
print emesg
print v_job
after the job is run, there's no more entries in user_jobs, why is this so?
thanks a lot!

this is similar to
Re: issues with dbms_jobs
I did a commit after running the script.
the reason why interval is null is because it is supposed to be a one time job, but I just could not understand why no records?
is this the reason why from oracle 10g we should use dbms_job_scheduler since we can track the SCHEDULERJOB_RUN_DETAILS for details of the job even if it is a one time job, thanks

Similar Messages

  • Why should we go for job instead of trigger

    hi all,
    whats the exact purpose of job n trigger?
    why should we go for job instead of trigger?
    any one pls help me regarding this
    thnaks in advance.

    When you have code that is to be called, implementing it with a trigger leaves the process synchronous. In other words: the code is executed within the same transaction as the invoking code. This means real-time, but it makes your transaction heavier. Implementing it with a job, makes it asynchronous. In other words: the code gets executed in another session. Now it is not real-time anymore, but since it is executed in the background, nobody cares anymore how long it takes (to a certain point of course).
    Regards,
    Rob.

  • Jobs only submitted

    hi all,
    i had configured the preferred credentials as mentioned in the doc
    i created a user in windows 2000 with the priviliege "log on as batch job"
    i created the same user in my database
    i set the preferred credentails for my databsae and my node (i have the database and the OMS installed in the same machine)
    the user/password for the node are the same as my windows 2000 user.
    i create a job but when i finish the status of the job remains "submitted" it doesn't complete nor fails.
    i want to delete jobs but it fails
    i need help

    bezgouri
    I researched the error message being generated:
    VNI-4040: Agent state is corrupted.
    Cause: The Oracle Management Server repository is out of sync with the agent's queue files. The queue files of the agent may have been corrupted or deleted.
    Action: Delete and resubmit all jobs and events registered with that agent.
    Resolution:
    Delete all the .q files from the 'Drive:\oracle_home\network\agent folder.
    Next> stop Intelligent Agent Services in Windows(NT,2000)
    Restart IA Services (to automatically re-create new .q files)
    Finally...log into OEM Console and rediscover node(s).
    This will check that the Intelligent Agent has discoverd the services on the
    target node automatically.
    If this fails issue the ping<hostname>command.
    You may need to use the IP address instead of hostname.
    You can find help online: Oracle 9i Intelligent Agent User's Guide.
    Denise

  • Hide user/pwd when  running sqlplus job via HOST cmd in oracle forms

    I have a oracle procedure that returns the run_command string. Ex . ‘sqlplus ui/pwd @report.sql’. The run_command string returned by the procedure is run via the HOST command in oracle Forms.
    HOST(run_command) submits the job but it exposes the ui and pa that is used in the run_command string. On UNIX, if I do ps –ef | grep sqlplus after the job is submitted by the HOST command, I can see the ui/pwd in the run_command.
    How can I submit the job via HOST command without exposing the ui/pwd ?
    Thanks
    GP

    Of course, the Operating System Authenticated account method should only be used if you are running this job on the machine with that's running the Oracle instance. You absolutely do not want to turn on remote authentication. If you're not on the same machine, I would suggest you put the credentials in a file and secure it with filesystem privileges. I generally use a single generic script initiator that logs on and then runs some other script specified on the command line. Something like ...
    username/password
    @&1Note: the extra "--/--" lines ensure that the script fails with invalid login if the credentials are wrong but they get interpreted as comments if the logon succeeds.

  • Why have you left a job half done and my company w...

    I'm dreadfully sorry that I can't provide you with the Broadband phone number,
    unfortunately, BT have not completed a line switch, and have left my company
    without Internet access, so I can't access this information.
    From memory it might be 020 *********, but that's a guess!
    But the company is FT Technologies and their post code is: TW11 8PA.
    And my work email is **************, but you might want to send any
    correspondence to my personal one as you've broken the work one:
    BT were meant to come and switch our Internet connection from one building to
    another today.
    They told us that it was all very simple, they would install the new line,
    deactivate the old line and make the new one live, that the process was
    practically instantaneous.
    Two engineers turned up, they'd double booked the job.  They did something to
    the new line.  They then tried to run away without a word.  I had to get the
    receptionist to stop them so I could talk to them.  They told me that they had
    done their part, that the rest would happen automatically, but it was nothing to
    do with them, they couldn't even speak to the department that did this part of
    the job.
    I find it incredulous that no one seems to have overall responsibility for a
    job, that one department can't speak to another to liaise, organise, check that
    something has been completed to the customer's satisfaction.  But rather try and
    slope off as soon as possible and hope no one notices.
    A recalled engineer then told me the rest of the job would all happen `in under
    an hour'.
    An hour and fifteen minutes later I call the Broadband help line as the switch
    had not happened.
    The operative apologised, said it should have happened and then went away to do
    something.  He spoke of the internal infrastructure within BT, I told him this
    was of no importance to me as the customer, I just wanted my job finished. 
    I can't help feel that this internal separation has the effect of obfuscating the
    facts and allow the ownership of a problem to be passed around He willy nilly.
    He kept speaking in internal BT jargon.  He reported back that the switch had
    now occurred. 
    I explained I didn't understand what he was saying but the switch hadn't
    happened, I knew this because I was monitoring both the new and old lines.
    He tried again and informed it was now happening automatically.  I enquired when
    it would be complete.  He waited a few seconds and told me again that the switch
    had now completed.
    I told him, correctly, that it hadn't!
    Again, how can the operatives so blatantly tell the customer things that are
    blatantly not factually correct?  Luckily for me I had the technical knowledge
    and equipment to check the veracity of what I was being told, many will
    not be so lucky.  This coupled with the jargon the operatives hide behind
    further obfuscate and insulate BT from dealing with issues.
    I was put on hold several more times, afterwards, each time I was told some
    jargon, spun to imply things were all fine and dandy, when in fact the
    opposite was the case!
    After yet another delay I was told that the new line wouldn't go live until
    after 20:00.
    I explained that this was not acceptable and that I wanted to speak to someone
    that could resolve this matter.  He replied that there `wasn't anybody'.
    So I asked to speak to his manager, he replied `that's who I was just talking
    to', as if to say it wasn't worth it.
    I insisted that I be transferred anyway, which I was.
    His boss told me that rather than 20:00 it was more likely to be after 24:00
    before the changes would be made.
    Again I asked to be put through to someone would could help me.  I was informed
    that there was no one.  I suggested that this was not the case, BT didn't all go
    home at 6:00.  I requested that she find someone.  She put me on hold, an hour
    later I was still on hold, at that point I had been on the phone for nearly 3
    hours.
    Our computer systems were in limbo.  True there was Internet connectivity via
    the old line, but this could switch at any point and we would loose the
    connection.  I could wait until there was evidence that the lines had been
    switched then relocate the routing equipment.  But that could be after midnight
    according to the latest estimate - and to be fair all estimates so far had
    proven to false and given more to acquiesce the customer rather than being based
    on fact.
    In the end I relocated the equipment in the vain hope that at some point BT
    would actually do what they had promised several times before. 
    And that's where we're currently at.  My company has no communications because
    of an uncompleted job by BT, everyone at BT has apparently gone home, and there
    is no believable idea of when things will be rectified.  My bosses don't give a
    **bleep** about BT, their broken promises, their internal procedures - all they know
    is that I have broken things.
    So I was just wondering whether you could be so kind as to answer the following
    questions for me:
    1, Why were we lead to believe that when the engineers left we would have a new
    working internet connection?
    2, Why did your engineers slope off without informing us of the situation?
    3, Why, when recalled, were we told that the job would be completed in less than an
    hour?
    4, Why was this not true?
    5, Why can't one department in BT talk to another?
    6, Why does your helpdesk talk in jargon, and not technical jargon, a BT variety
    that is not understandable to those outside the organisation?
    7, Why do the departments hide behind the internal infrastructure that then
    allows them to say, metaphorically at least, `sorry guv., nothing to do with me,
    that's a different section altogether, but unfortunately neither you or I can
    communicate with them directly'?
    8, Why was I told that the switch happen at 8:00 when it wasn't?
    9, Why did the timescale slip to 12:30?
    10, Why was I left permanently on hold?
    11, Why could I not be transferred to someone who could help me?
    12, These changes are simple, it requires a change to a routing table, the could
    be done instanteously!  Why are we lead to believe, unreasonably, that they are
    somehow difficult and time consuming?
    13, Can I have a job with BT if mine is no longer available thanks to you guys?
    Regards,
    Gavin Bungay.

    GavinFT wrote:
    I'm dreadfully sorry that I can't provide you with the Broadband phone number,
    unfortunately, BT have not completed a line switch, and have left my company
    without Internet access, so I can't access this information.
    Regards,
    Gavin
    Hi Gavin. Welcome to the forums.
    However, your query appears to be business based - this forum is typically for home users. Pop along to the business Forum at :-
    http://business.forums.bt.com/
    Please can you amend your post to remove personal details such as phone numbers, names and email addresses.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • How to check why some of the Cron jobs didn't ran at the scheduled time?

    This is my first question ever on the forum. Hope I'm following the format of posting the thread.
    I could find a similar query on the forum but couldn't find the exact answer.
    Versions:
    Oracle: 11.2.02.0
    Linux: Linux xxxxx 2.6.32.12-0.7-default #! SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LINUX
    In our crontab there are lot of scripts that ran at the scheduled time. Around 3 reports didn't ran at the scheduled time today?
    There is no error or some error mail saying that those reports got failed. They just didn't ran at that time.
    How to find out why those jobs didn't ran?
    Is there anything like cron log or something like that to trace it?
    Please guide me. Thanks in advance.

    977789 wrote:
    This is my first question ever on the forum. Hope I'm following the format of posting the thread.
    I could find a similar query on the forum but couldn't find the exact answer.
    Versions:
    Oracle: 11.2.02.0
    Linux: Linux xxxxx 2.6.32.12-0.7-default #! SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LINUX
    In our crontab there are lot of scripts that ran at the scheduled time. Around 3 reports didn't ran at the scheduled time today?
    There is no error or some error mail saying that those reports got failed. They just didn't ran at that time.
    How to find out why those jobs didn't ran?
    Is there anything like cron log or something like that to trace it?
    Please guide me. Thanks in advance.Since this question has nothing to do with Oracle Databases and everything to do with Linux functions and usage, it would be better asked in the [url https://forums.oracle.com/forums/forum.jspa?forumID=135]Linux Forum
    When posting there, you can save yourself a bit of time by going ahead and showing the line from crontab for a report that "didn't run", and perchance the script itself. Best enclosed in the / tags to preserve formatting.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Jobs timings has changed in oracle 9i

    In our database we are having 3 jobs scheduled using dbms_jobs, but every 3 or 4 days once these jobs timing are changing,can any body help me out why this is being happening.
    i scheduled the jobs using below script
    DECLARE
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    ( job => X
    ,what => 'GPS_DATA;'
    ,next_date => TO_DATE('23/10/2008 06:30:00','dd/mm/yyyy hh24:mi:ss')
    ,INTERVAL => 'sysdate+1'
    ,no_parse => TRUE
    END;
    like this i scheduled and it should execute every day at 6:30AM, but every few days the next and last timing are showing 9:20AM some times another timing..
    and i checked once that when the database is bounced then all the jobs are started at database startup time..i dont know y this is happening
    help me out to solve this one...
    thanks a lot
    .

    If a job is scheduled to run at 06:30am and the INTERVAL is 'sysdate+1'
    AND
    the database is shutdown between 06:00 and 09:00 on Monday morning
    At startup (at 09:00), Oracle finds that a job that was supposed to have run at 06:30 hasn't run yet. It begins running the job now -- ie 09:00 or 09:01.
    When the job finished, the INTERVAL being 'sysdate+1' sets the Next schedule time to be 09:00 of Tuesday morning !!
    It is behaving as expected and designed !
    If you are on 10g, you can move to using dbms_scheduler.
    If you are still using dbms_job, you'd have to modify the INTERVAL specification such that it always starts from a specific time --- eg 'trunc(sysdate) + 13/24' will always be the 6:30am of tomorrow irrespective of whether the current sysdate is 06:30am or 09:00am !
    However, as for the first run of the job after startup at 09:00 -- you could build some additional scripting to disable jobs from running at this time or reschedule them or allow them to run -- depending on whether you can afford to not have the 06:30am run of Monday at all or whether it is very important to run, even if at 09:00 !
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Doubt to create a job to run a executable oracle 10g

    Hi guys,
    I´m using oracle 10gR2 and trying to schedule a job to execute a automatic import every night and then drop the dmp file.
    I would like to know if it´s possible..
    I´m configuring via web enterprise manager and in the option :
    "Command
    Select the command type for the job, then enter the command requirements."
    And I´m changing the command type to executable and passing
    $ORACLE_HOME/bin/imp sys/password file=mydump.dmp fromuser=user1 touser=user2
    but it´s failing. Anybody knows what I´m doing wrong ?

    No, that you cant.
    Instead create a shell script for the import and then put that as the command in oem.
    Message was edited by:
    orafad

  • Backing up Jobs, Chains and Programs in Oracle Job Scheduler

    What is the best way to back up Jobs, Chains and Programs created in the Oracle Job Scheduler via Enterprise Manager - and also the best way to get them from one database to another. I am creating quite a long chain which executes many programs in our test database and wish to back everything up along the way. I will also then need to migrate to the production database.
    Thanks for any advice,
    Susan

    Hi Susan,
    Unfortunately there are not too many options.
    To backup a job you can use dbms_scheduler.copy_job. I believe EM has a button called "create like" for jobs and programs but I am not sure about chains and this can be used to create backups as well.
    A more general purpose solution which should also cover chains is to do a schema-level export using expdp i.e. a dump of an entire schema.
    e.g.
    SQL> create directory dumpdir as '/tmp';
    SQL> grant all on directory dumpdir to public;
    # expdp scott/tiger DUMPFILE=scott_backup.dmp directory=dumpdir
    You can then import into a SQL text file e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup SQLFILE=scott_backup.out
    or import into another database (and even another schema) e.g.
    # impdp scott/tiger DIRECTORY=dumpdir DUMPFILE=scott_backup
    Hope this helps,
    Ravi.

  • Job, Position, Grade setup in Oracle HRMS R12

    Hi All,
    I have created three Flexfield for Job, Position, Grade in HRMS R12. Then i created business group Test ABC Organization.
    The Job, Position and Grade Felexfield is working good using Work Structure. Now i want to add these Flexfield in Assignment window in of People.
    Please help me to find out this solution.
    Your help would highly appreciated
    Thanks.

    HI
    please seee this
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/per/iw04c06.htm
    http://docs.oracle.com/cd/E18727_01/doc.121/e13509/T2096T2100.htm
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/per/flexax.htm
    http://oracle.anilpassi.com/forms-personalization-in-oracle-hrms.html
    ;) AppsmAstI ;)
    Sharing Is Caring

  • Why data change in linked table in Access - link from Oracle DB

    Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
    Here is the problem:
    In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
    For example:
    Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
    What I have in my system:
    1- Oracle 9.2 client
    2- Oracle driver
    3- Access 2003
    4- Jet - SP 8

    Can someone please help me to solve this situation? I try to find out why data is changed from Oracle to Access. I must come back to this thread because lot of data in my Oracle database is defined as NUMBER(22), and I am using Access heavily.
    Here is the problem:
    In Access, I created ODBC connection (System DSN) to Oracle 9.2 database by using Oracle driver (NOT Microsoft ODBC for Oracle). Then I linked tables from Access with the Oracle table. What happens is that the number in Access linked table is displayed as a scientific number. Is there a way that I can preserve whatever I have in Oracle database?
    For example:
    Comp_ID in Oralce is defined as NUMBER(22) = 40000000000324003; In Access it looks like this 4.0000000000324E+16.
    What I have in my system:
    1- Oracle 9.2 client
    2- Oracle driver
    3- Access 2003
    4- Jet - SP 8

  • Some Schedule jobs are not running in Oracle 10g

    i have total of 8 Schedules jobs in Oracle 10g test database which were not in sync with prod database . So i re-created all of them again and then enbled them . but some 4 of them didnt ran on their NEXT_RUN_DATE . Showing NULL on LAST_START_DATE and LAST_RUN_DURATION . How to make them Run
    select OWNER,JOB_NAME,START_DATE,STATE,SCHEDULE_NAME,LAST_START_DATE,LAST_RUN_DURATION,NEXT_RUN_DATE from ALL_SCHEDULER_JOBS
    where OWNER='MESH_FOR' and last_start_date is NULL;
    OWNER     JOB_NAME     START_DATE     STATE     SCHEDULE_NAME     LAST_START_DATE     LAST_RUN_DURATION     NEXT_RUN_DATE
    MESH_FOR     REFRESH_TERMINALS_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
    MESH_FOR     REFRESH_MN_SERVERS_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
    MESH_FOR     REFRESH_EVENT_INFO_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00
    MESH_FOR     UPDATE_MV_CHANGES_J     27.07.2010 11:00:00,000000000 +02:00     SCHEDULED     DAILY_EVERY_30_MINUTES     NULL     NULL     27.07.2010 11:00:00,000000000 +02:00

    Hi,
    Could you please explain, what is OS authentication?
    I created a new user for creating and runing jobs.
    I have given following priveleges to the new User.'
    1)Connect
    2)SELECT_CATALOG_ROLE
    3)Create Job
    Then, I created the job as follows.
    BEGIN
    sys.dbms_scheduler.create_job(
    job_name => 'SMPL_TST_JB',
    job_type => 'PLSQL_BLOCK',
    job_action => 'Declare
    Result Integer;
    begin
    Result:=1;
    /* Other statments */
    Exception
    when others then
    Result:=3;
    end;',
    repeat_interval => 'freq=daily;byhour=10;byminute=00;bysecond=00',
    start_date => systimestamp,
    job_class => 'DEFAULT_JOB_CLASS',
    auto_drop => FALSE,
    enabled => TRUE);
    sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'logging_level', value => DBMS_SCHEDULER.LOGGING_FULL);
    sys.dbms_scheduler.set_attribute( name => 'SMPL_TST_JB', attribute => 'restartable', value => TRUE);
    END;
    Then, I run the job as following.
    SQL> begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
    2 /
    begin sys.dbms_scheduler.run_job ('SMPL_TST_JB'); end;
    ORA-03113: end-of-file on communication channel
    Thank you,
    Regards
    Gowtham Sen.

  • Why does this work in MS SQL and not in Oracle

    ALTER TABLE Stk
    DROP COLUMN ComCode;
    This BASIC statement works perfectly
    in MS SQL, but after 2 hours now, it
    simply refuses to work in Oracle,
    although the syntax seems correct, I
    get :
    ALTER TABLE Stk
    DROP COLUMN ComCode
    ORA-00905: missing keyword
    null

    Stop trying! Oracle simply does not support the DROP COLUMN syntax. A work around is:
    CREATE another table based on the original table, minus the column you want to drop.
    (CREATE TABLE new_table AS SELECT col1, col2 , ... FROM old_table)
    DROP the original table.
    (DROP TABLE old_table)
    RENAME the new table the old table.
    (RENAME new_table TO old_table)
    Your have to manually add the constraints, if the old table has any.
    Eric Ma

  • Why do I get spaces between the printed fields? (Oracle 10G)

    Hi!
    I use Oracle 10G and I have a program that doesn't work the way it does on previous versions of Oracle. Or maybe it's a wrong options?!?
    Well i need to print the fields from a table with no spaces between them. Instead I get spaces between the fields. As if the dimension of the printed field is three times the real dimension of the field (even if I use SUBST, RTRIM, LPAD).
    For example I have
    SELECT '1', '2' FROM dual;
    I get "1 2 " instead of "12"
    The program is something like this:
    SET SCAN ON
    SET SPACE 0
    SET PAGESIZE 0
    SET PAUSE OFF
    SET FEEDBACK OFF
    SET HEADING OFF
    SET EMBEDDED ON
    SET VERIFY OFF
    SET TERMOUT OFF
    SET LINESIZE 4750
    spool &&4
    Select campo1, campo2 from tabella;
    Oh! It's not possible to concatenate the fields. campo1 || campo1. I get error, I presume, because of the dimension of the line (4750).
    Thanks,
    Miky

    SET COLSEP doesn't work! SPACE 0 should do the same, but doesn't work either When you complains that solution doesn't work, you should provide us the output you got. Because as I showed, and as shoblovk show it worked fine on our side.
    Anyway, what's the version of your Oracle client (SQL*Plus), OS... ?
    Nicolas.
    PS : and use tags as well &#091;pre&#093;paste your code here&#091;/pre&#093;
    Message was edited by:
    N. Gasparotto

  • Can I create a table in a procedure submitted to job queue?

    I have created a package (with AUTHID CURRENT_USER) where some of the procedures create temporary tables to facilitate processing. These procedures run just fine when executed directly from within an anonymous block at the SQL*PLUS level. However, when I submit the procedures to the job queue (via DBMS_JOB.SUBMIT), the job is submitted successfully but fails when run. Investigating the Alert Log shows an error of insufficient privilege on the CREATE TABLE command in the procedure.
    QUESTION:
    Can I create a table from a procedure running in the Job Queue? If so, then how to get it to work? Does the job run in a different environment that needs Create Table privileges set to my schema?
    Thanks for any info you can provide.
    John

    FYI: Found the problem. In the Administrator's Guide (of course not in the supplied packages documentation about DBMS_JOB) I found:
    "How Jobs Execute
    SNP background processes execute jobs. To execute a job, the process creates a session to run the job.
    When an SNP process runs a job, the job is run in the same environment in which it was submitted and with the owner's default privileges.
    When you force a job to run using the procedure DBMS_JOB.RUN, the job is run by your user process. When your user process runs a job, it is run with your default privileges only. Privileges granted to you through roles are unavailable."
    And of course we had set up our users to get all privileges through Roles, so CREATE TABLE wasn't one of my DEFAULT PRIVILEGES!
    It sure would be nice if Oracle documentation could get its act together and provide ALL information about a topic in a logical place. The effort to find the information about privileges occurred after it took me 1/2 hour to figure out why my submissions were failing - I didn't have the ';' included in the quoted string for the procedure to be called - which I only figured out after looking at the code for DBMS_JOB where it made the note to make sure you include the ';'. Wouldn't it be good to have that MINOR DETAIL mentioned in the description of DBMS_JOB.SUBMIT?????

Maybe you are looking for

  • Front-end and Database upgrade

    Hi SDN, We have recently upgraded Oracle database to 10.g.2.1 on our BW 3.5 server, used as a sandbox. We are having HTTP related problems. Running any web app gives us the following message: System error in program SAPLRSDM_F4 and form RSD_CHA_GET_V

  • Xml string  to internal table = change  utf-8 to utf-16

    Hello Experts, I have a requirement to convert XML String to abap intrnal table . I have to get an xml file from application server using opendataset as ?<?xml version="1.0" encoding="utf-16" standalone= "yes"?><WPUBON01>## <IDOC BEGIN="1">## <EDI_DC

  • Transaction key UMB determined on transaction MB1A

    Hi experts, I'm having a problem with a goods movement via transaction MB1A. When trying to move material, an error message is displayed with the information that the account does not exist in the chart of accounts. The account in question is configu

  • Memory leaks in MFC while using CDatabase::OpenEx()

    Hi, This question has been asked previously but the explanation was not in detail and i could never reach to the bottom of it. I hope i can elaborate more on the problem statement and i can get a resolution/explanation from the experts here. Consider

  • How can I erase the old e-mail accounts from the BB

    I just got a BB 8300 and I registered my account, but the previous owner´s e mail accounts still show in he screen. How can I get rid of them. Thx Solved! Go to Solution.