Skip Headers
Oracle® OLAP DML Reference
11g Release 1 (11.1)

Part Number B28126-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
View PDF

GETLOG Function

This function returns the session log from the last execution of the INTERP or INTERPCLOB functions in this package.

To print the session log returned by this function, use the DBMS_AW.PRINTLOG procedure.

Note:

You cannot execute this function from within the OLAP Worksheet. You must execute if in a SQL tool such as SQL*Plus.

Syntax

GETLOG()
          RETURN CLOB;

Returns

The session log from the latest call to INTERP or INTERPCLOB.

Example

The following example shows the session log returned by a call to INTERP, then shows the identical session log returned by GETLOG.

SQL>set serverout on size 1000000
SQL>execute dbms_aw.printlog(dbms_aw.interp('AW ATTACH xademo; LISTNAMES AGGMAP'));
     2 AGGMAPs
     ------------------------------------------
     ANALYTIC_CUBE.AGGMAP.1
     SALES_MULTIKEY_CUBE.AGGMAP.1

     PL/SQL procedure successfully completed.


SQL>execute dbms_aw.printlog(dbms_aw.getlog());
     2 AGGMAPs
     ------------------------------------------
     ANALYTIC_CUBE.AGGMAP.1
     SALES_MULTIKEY_CUBE.AGGMAP.1

     PL/SQL procedure successfully completed.