In Oracle 8 or later, if I declare a column as CHAR(20), and have 100K rows where this column is null, is this actually using two megs of storage, or does Oracle employ some kind of compression mechanism?
Thanks!
Bob
I don't think it's going too far to have a separate address table. Yes, you will pay a small performance penalty doing a join. The advantage is decoupling your other tables from the details of addresses. In addition to companies, do you have tables for employees, divisions, etc. that have...
Say I have these four tables:
Product
productKey
productTypeKey
quantityOnHand
ProductType
productTypeKey
name
ProductAttribute
productAttributeKey
name
valueType -- 1=boolean, 2= float, etc.
productTypeKey
ProductAttributeValue
valueBoolean NUMBER(1)
valueFloat FLOAT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.