Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_WM , 17 of 52


GetLockMode Function

This function returns the locking mode, which determines whether or not access is enabled to versioned rows and corresponding rows in the previous version.

Syntax

DBMS_WM.GetLockMode
RETURN VARCHAR2;

Usage Notes

This function returns E, S, C, or NULL:

For an explanation of Workspace Manager locking, see Oracle9i Application Developer's Guide - Workspace Manager. See also the descriptions of the SetLockingON Procedure and SetLockingOFF Procedure.

Examples

The following example displays the locking mode in effect for the session.

SELECT DBMS_WM.GetLockMode FROM DUAL;

GETLOCKMODE                                                                     
--------------------------------------------------------------------------------
C

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback