Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • tblwopk.sql tablewopk.sql Oracle
  • For Search and replace unix command. Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle
  • nfs mount command Linux/Unix
  • ORA-01220 Oracle
  • Linux CPU info. Linux/Unix
  • replace alphabets using sed Linux/Unix
  • CTAS with LONG Column for 9i and higher Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • dbms_job.submit example Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Oracle Material from OTN Oracle

Rollback force for distributed transactions

Posted on 22-Jan-2010 By Admin No Comments on Rollback force for distributed transactions

FORCE Clause

Specify FORCE to manually roll back an in-doubt distributed transaction. The transaction is identified by the text containing its local or global transaction ID. To find the IDs of such transactions, query the data dictionary view DBA_2PC_PENDING.

A ROLLBACK statement with a FORCE clause rolls back only the specified transaction. Such a statement does not affect your current transaction.

Restriction on Forcing Rollback

ROLLBACK statements with the FORCE clause are not supported in PL/SQL.

The following statement manually rolls back an in-doubt distributed transaction:

SQL> ROLLBACK FORCE ‘25.32.87’;

Oracle, SQL scripts

Post navigation

Previous Post: How to find password change date for user
Next Post: Committing distributed transaction using commit force

Related Posts

  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • initUOCIOTTO.ora Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • perf_today.sql Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • checking redhat linux version Linux/Unix
  • Find Plan Hash value fphv.sql Oracle
  • fuser to check who is using diretory Linux/Unix
  • oracle 11g RAC on vmware Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • sesswait.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme