Categories
- All Categories
- Oracle Analytics Learning Hub
- 31 Oracle Analytics Sharing Center
- 20 Oracle Analytics Lounge
- 250 Oracle Analytics News
- 45 Oracle Analytics Videos
- 16.1K Oracle Analytics Forums
- 6.3K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 93 Oracle Analytics Trainings
- 16 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
DFF Lexicals in a Non-Standard SQL DataModel
Hi,
We have the requirement to write our data model using the 'Non-Standard SQL' SQL type because we need the use of CURSOR statements to return data back in a nested structure because it will include multiple levels and hierarchies. We also need to include lexicals for DFFs in our query. But its resulting in this error:
Here is a cut-down query that results in an error when run in the data model:
select
supplier.vendor_id,
supplier.vendor_name,
address_line1
cursor (
select
sites.vendor_site_id,
sites.vendor_site_name,
sites.country
from poz_supplier_sites_v sites
sites.vendor_id = supplier.vendor_id
) supplier_sites,
&DFF_SELECT
from
POZ_SUPPLIERS_V supplier
where
supplier.vendor_name = 'XXX'
This is the Lexical setup:
Any help is appreciated!

