Oracle9i Application Developer's Guide - Advanced Queuing
Release 1 (9.0.1)

Part Number A88890-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

Basic Components, 4 of 5


Enumerated Constants in the Operational Interface

When using enumerated constants such as BROWSE, LOCKED, and REMOVE, the PL/SQL constants must be specified with the scope of the packages defining them. All types associated with the operational interfaces must be prepended with DBMS_AQ. For example:

DBMS_AQ.BROWSE

Table 2-8 lists the enumerated constants.

Table 2-8 Enumerated Constants in the Operational Interface
Parameter  Options 

visibility 

IMMEDIATE, ON_COMMIT 

dequeue mode 

BROWSE, LOCKED, REMOVE, REMOVE_NODATA 

navigation 

FIRST_MESSAGE, NEXT_MESSAGE, NEXT_TRANSACTION 

state 

WAITING, READY, PROCESSED, EXPIRED 

sequence_deviation 

BEFORE, TOP 

wait 

FOREVER, NO_WAIT 

delay 

NO_DELAY 

expiration 

NEVER 

namespace
 
NAMESPACE_AQ, NAMESPACE_ANONYMOUS
 

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