Table of Contents

Obiee - How to create a dummy table ?

About

A dummy table is a virtual table where you can perform a select even if it does't exist.

In oracle, the name of this table is “dual” and you use it for several reasons. The most common is :

select REGEXP_INSTR(' 2343  LM  ', '^([[:blank:]]*[0-9]{4}[[:blank:]]*[A-Z]{2}[[:blank:]]*)$') from dual

You don't need any table as you give the data.

SELECT 'MONTH' AS REPORT_LEVEL FROM DUAL
UNION
SELECT 'QUARTER' AS REPORT_LEVEL FROM DUAL

Article Related

Steps to perform

Obiee Dummy Table

Second, you need to create the column report_level from the sql statement.

Obiee Dummy Table Columns

If you choose this column in a query, the values MONTH and QUARTER will be returned.