The following SQL-Statement lists all values of a source attribute
srcin your dimension source table/view
dimwhich violate an attribute relationship (path) to a destination attribute
dest.
select src from dim group by src having count(distinct dest)>1
Extending this a bit delivers all the bad rows:
select * from dim where src in (select src from dim group by src having count(distinct dest)>1)
Keine Kommentare:
Kommentar veröffentlichen