Oracle® OLAP DML Reference 11g Release 2 (11.2) E17122-08 |
|
|
PDF · Mobi · ePub |
The AW_TABLESPACE
function returns the name of the tablespace in which a particular analytic workspace is stored.
Note:
You cannot execute this function from within the OLAP Worksheet. You must execute if in a SQL tool such as SQL*Plus.AW_TABLESPACE ( schema IN VARCHAR2, awname IN VARCHAR2) RETURN VARCHAR2;
The following example shows the tablespace in which the GLOBAL
analytic workspace is stored.
SET serveroutput ON EXECUTE dbms_output.put_line('Sales History is stored in tablespace ' || dbms_aw.aw_tablespace('sh_aw', 'sales_history'));
This command generates the following statement:
Sales History is stored in tablespace SH_AW