Hi I want to make a SQL Query to get accounts by structures, the main goal is to validate the structures configuration in order to make sure that account are associated to the right structure.
I tried with different queries but I am not sure if I am using the right tables.
The output should be:
Main account, structure
101010101, Structure A
101010102,null
SQL:
select *
from MAINACCOUNT MA
join DIMENSIONATTRIBUTEVALUECOMBINATION DAVC
on MA.RECID = DAVC.MAINACCOUNT
join DIMENSIONHIERARCHY DH
on DH.RECID = DAVC.ACCOUNTSTRUCTURE
Could someone help me identify how I should do this query, please.
thank you.
*This post is locked for comments
I have the same question (0)