Home > Ask the Oracle Database / Applications Experts > Data Warehousing, ETL, and business intelligence Questions & Answers > Is it OK to make a flag a fact?
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Is it OK to make a flag a fact?

Ian Abramson EXPERT RESPONSE FROM: Ian Abramson

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 03 September 2004

I'm currently in the process of building a warehouse to store transaction details based on a star schema design. The fact table will store balances down to the transaction grain, and there will be a transaction dimension to store transaction attributes, e.g. account number, deal ref etc.

One of the transaction attributes is a flag to indicate whether the> balance is an assest or liability. I'm reluctant to make the transaction dimension a type 2 SCD, but will have no choice if the flag is stored in the dimension table.

Is it OK to make the flag a fact?


>

I feel that moving the attribute to the fact is acceptable to me. If you want to stay pure you could make the stored value of an asset = 1 and a liability = -1.

You can see how this will meet the requirements for a pure fact table, as well as providing you the ability to use the value for other purposes. I suggest 1 and -1, but any two numbers could work as well.

You could even get crazy about this and create a lookup asset type table and use the key from there.

Bottomline, if this simplifies the ultimate goal, then it is one to try.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Data Warehousing, ETL, and business intelligence
Analyzing an index after rebuild
Speed of low-cost query
Data warehouse based on operational data model
Method other than DB link for large data transfer
Data migration with ETL
Basic steps for implementing a DBMS
Importing 8i dump file to 9i
Using export/import process to clone to data warehouse
Areas of impact while migrating database from 8i to 9i/10g
External tables explained

Oracle data warehousing
Oracle data warehousing tutorial
Oracle's supply chain BI the answer for SaaS provider
Oracle business intelligence guide
BI strategies of Oracle and the megavendors
Exadata: A first look at Oracle's entry into the appliance market
Oracle New Year's resolutions, part 2: GRC tips and customer resolutions revealed
Oracle's Top 8 stories of 2008
IOUG chief discusses OpenWorld, DBA pay and security
Oracle enters the appliance market with Exadata
Tip: Exposing logical attributes with virtual columns

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
multidimensional database  (SearchOracle.com)
operational data store  (SearchOracle.com)
repository  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts