This BI Publisher (BIP) query lists the values stored in a user defined table with Range or Match as MATCH.
SELECT
t.user_table_id,
t.base_user_table_name,
r.row_low_range_or_name,
c_tl.user_column_name,
v.value
FROM
ff_user_tables t,
ff_user_rows_f r,
ff_user_columns c,
ff_user_columns_tl c_tl,
ff_user_column_instances_f v
where
t.user_table_id = r.user_table_id
and c.user_column_id = c_tl.user_column_id
and t.user_table_id = c.user_table_id
and c.user_column_id = v.user_column_id
AND r.user_row_id = v.user_row_id
and trunc(sysdate) between r.effective_start_date and r.effective_end_date
and trunc(sysdate) between v.effective_start_date and v.effective_end_date
and c_tl.language = 'US'
AND t.base_user_table_name = :P_UDT_NAME;
Parameters
| Parameter | Description |
|---|---|
P_UDT_NAME | User Defined table(UDT) Name with type as MATCH. Leave it NULL to fetch for all UDTs. |