This is with respect to the DW Design. Currently all our reports retrieve the measures using the SELECT DISTINCT clause even though the Fact table has the primary key. Is this the normal approach? Are there any design issues or any access approaches we should consider?


Chuck Kelley’s Answer: Almost all reporting/query tools do a select distinct. While I don’t agree with it, the correct results are produced for the end user and so it works. That is all you can ask of a product is that it works as advertised. Remember that the design needs to make sure that there will be no duplicates in the “fact” table, making the DISTINCT useless. If you have a bad design, then it needs to be fixed not have the tool “fix” it for you.

Register or login for access to this item and much more

All Information Management content is archived after seven days.

Community members receive:
  • All recent and archived articles
  • Conference offers and updates
  • A full menu of enewsletter options
  • Web seminars, white papers, ebooks

Don't have an account? Register for Free Unlimited Access