Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • currwait.sql Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Some OS level threshold for performance. Linux/Unix
  • newupload.html PHP/MYSQL/Wordpress
  • age_alert.ksh aging out alert.log Linux/Unix
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • cur_sql.sql Oracle
  • JSON/XML Types in Oracle Oracle
  • The most important Tuning Notes Oracle
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • Flowers Resize datafiles Oracle
  • DBMS_Shared_pool pinning triggers Oracle

Proc code

Posted on 21-Oct-2009 By Admin No Comments on Proc code

1. EXEC SQL COMMIT WORK RELEASE;

(When you want to commit transactions and disconnect;similar to EXIT in SQL*PLUS)

2. EXEC SQL ROLLBACK WORK RELEASE;

(When you want to rollback transactions and disconnect;similar to QUIT in SQL*PLUS)

Oracle, SQL scripts

Post navigation

Previous Post: Removing Ctrl-M from end of line using vi
Next Post: Error Handling in Proc

Related Posts

  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • How to stop OCSSD Daemon Oracle
  • SQL_PROFILE – I explaination Oracle
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS Oracle
  • Export With Query Another Example. Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Convert multiple rows to single column Oracle
  • RAC with RHEL4 and 11g Oracle
  • plan10g.sql good Oracle
  • This is im telling Kishore Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • Drop specific SQL plan baseline – spm Oracle
  • Clean up Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme