DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: How do I set Autocommit on from within PL/SQL Procedure

Hybrid View

  1. #1
    Join Date
    Feb 2002
    Posts
    1

    Angry

    We need to dynamically set autocommit on and off from our application program. We are trying to write a small procedure to set it on and off.

    Within the procedure, if I put SET AUTOCOMMIT ON, it is giving error.

    Do I need to do some setting to avoid this error?

  2. #2
    Join Date
    Apr 2001
    Location
    Czechia
    Posts
    712
    There isn't anything like AUTOCOMMIT in PL/SQL.
    It's property of JDBC or ODBC drivers.
    You need to set the property of the driver from within your application, not from within PL/SQL.
    HTH,
    Ales

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width