dbTalk Databases Forums  

will a job do an implicit COMMIT?

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss will a job do an implicit COMMIT? in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mh@pixar.com
 
Posts: n/a

Default will a job do an implicit COMMIT? - 10-08-2008 , 07:33 PM






I have a job that calls a stored procedure, specified
like this:

job_type => 'PLSQL_BLOCK',
job_action => 'begin qrunner_util.purge; end;',

Will the job system perform a COMMIT after it performs the
action? Or should I add the commit to the action:

job_action => 'begin qrunner_util.purge; commit; end;',

Many TIA!
Mark

--
Mark Harrison
Pixar Animation Studios

Reply With Quote
  #2  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: will a job do an implicit COMMIT? - 10-08-2008 , 11:39 PM






On Thu, 09 Oct 2008 00:33:35 GMT, mh (AT) pixar (DOT) com wrote:

Quote:
I have a job that calls a stored procedure, specified
like this:

job_type => 'PLSQL_BLOCK',
job_action => 'begin qrunner_util.purge; end;',

Will the job system perform a COMMIT after it performs the
action? Or should I add the commit to the action:

job_action => 'begin qrunner_util.purge; commit; end;',

Many TIA!
Mark
What will the job do?
It will exit!
What will an exit do?
Please consult your documentation.
Please don't ask rhetorical questions.
OF COURSE the job will do a commit!

You have been here just too long to still be asking this type of
question, and in the wrong forum too.

--
Sybrand Bakker
Senior Oracle DBA


Reply With Quote
  #3  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: will a job do an implicit COMMIT? - 10-08-2008 , 11:39 PM



On Thu, 09 Oct 2008 00:33:35 GMT, mh (AT) pixar (DOT) com wrote:

Quote:
I have a job that calls a stored procedure, specified
like this:

job_type => 'PLSQL_BLOCK',
job_action => 'begin qrunner_util.purge; end;',

Will the job system perform a COMMIT after it performs the
action? Or should I add the commit to the action:

job_action => 'begin qrunner_util.purge; commit; end;',

Many TIA!
Mark
What will the job do?
It will exit!
What will an exit do?
Please consult your documentation.
Please don't ask rhetorical questions.
OF COURSE the job will do a commit!

You have been here just too long to still be asking this type of
question, and in the wrong forum too.

--
Sybrand Bakker
Senior Oracle DBA


Reply With Quote
  #4  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: will a job do an implicit COMMIT? - 10-08-2008 , 11:39 PM



On Thu, 09 Oct 2008 00:33:35 GMT, mh (AT) pixar (DOT) com wrote:

Quote:
I have a job that calls a stored procedure, specified
like this:

job_type => 'PLSQL_BLOCK',
job_action => 'begin qrunner_util.purge; end;',

Will the job system perform a COMMIT after it performs the
action? Or should I add the commit to the action:

job_action => 'begin qrunner_util.purge; commit; end;',

Many TIA!
Mark
What will the job do?
It will exit!
What will an exit do?
Please consult your documentation.
Please don't ask rhetorical questions.
OF COURSE the job will do a commit!

You have been here just too long to still be asking this type of
question, and in the wrong forum too.

--
Sybrand Bakker
Senior Oracle DBA


Reply With Quote
  #5  
Old   
sybrandb@hccnet.nl
 
Posts: n/a

Default Re: will a job do an implicit COMMIT? - 10-08-2008 , 11:39 PM



On Thu, 09 Oct 2008 00:33:35 GMT, mh (AT) pixar (DOT) com wrote:

Quote:
I have a job that calls a stored procedure, specified
like this:

job_type => 'PLSQL_BLOCK',
job_action => 'begin qrunner_util.purge; end;',

Will the job system perform a COMMIT after it performs the
action? Or should I add the commit to the action:

job_action => 'begin qrunner_util.purge; commit; end;',

Many TIA!
Mark
What will the job do?
It will exit!
What will an exit do?
Please consult your documentation.
Please don't ask rhetorical questions.
OF COURSE the job will do a commit!

You have been here just too long to still be asking this type of
question, and in the wrong forum too.

--
Sybrand Bakker
Senior Oracle DBA


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.