Skip Headers
Oracle® TimesTen In-Memory Database PL/SQL Packages Reference
11g Release 2 (11.2.2)

Part Number E21645-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub
TTPLP021

3 DBMS_LOCK

The DBMS_LOCK package provides an interface to Lock Management services.

In the current release, TimesTen supports only the SLEEP subprogram.

This chapter contains the following topics:

TTPLP66761

Using DBMS_LOCK

TimesTen currently implements only the SLEEP subprogram, used to suspend the session for a specified duration.

TTPLP66769

Summary of DBMS_LOCK subprograms

In the current release, TimesTen supports only the SLEEP subprogram.

TTPLP66770Table 3-1 DBMS_LOCK package subprograms

Subprogram Description

SLEEP procedure

Suspends the session for a specified duration.


TTPLP66782

SLEEP procedure

This procedure suspends the session for a specified duration.

Syntax

DBMS_LOCK.SLEEP (
   seconds  IN NUMBER);

Parameters

TTPLP66783Table 3-2 SLEEP procedure parameters

Parameter Description

seconds

Amount of time, in seconds, to suspend the session, where the smallest increment is a hundredth of a second


Usage notes

Examples

DBMS_LOCK.SLEEP(1.95);
Reader Comment

   

Comments, corrections, and suggestions are forwarded to authors every week. By submitting, you confirm you agree to the terms and conditions. Use the OTN forums for product questions. For support or consulting, file a service request through My Oracle Support.

Hide Navigation

Quick Lookup

Database Library · Master Index · Master Glossary · Book List · Data Dictionary · SQL Keywords · Initialization Parameters · Advanced Search · Error Messages

Main Categories

This Page

  • Using DBMS_LOCK
  • Summary of DBMS_LOCK subprograms
    • SLEEP procedure

This Document

New and changed documents:
RSS Feed HTML RSS Feed PDF