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_LOGMNR , 5 of 6


MINE_VALUE Function

This function returns the value contained in the first parameter corresponding to the column name indicated in the second parameter.

The syntax for this function is as follows:

Syntax

dbms_logmnr.mine_value(
     sql_redo_undo        IN  RAW,
     column_name        IN  VARCHAR2 default '') RETURN VARCHAR2;

Parameters

The parameters for the MINE_VALUE function are listed in Table 24-4.

Table 24-4 MINE_VALUE Function Parameters
Parameter  Description 

sql_redo_undo 

Value of the REDO_VALUE or UNDO_VALUE columns selected from V$LOGMNR_CONTENTS. The value of this parameter directs LogMiner to return undo or redo column information.

This parameter can be thought of as a self-describing record that contains values corresponding to several columns in a table.  

column_name 

Fully qualified column name (schema.table.column) which this function will return information about. 

Returns

Table 24-5 Return Values for MINE_VALUE Function
Return  Description 

NULL 

The column is not contained within the self-describing record or the column value is NULL

NON-NULL 

The column is contained within the self-describing record; the value is returned in string format. 

Exceptions

No LogMiner errors are returned.

Usage Notes


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