Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Hypothetical questions
I am looking for some input from some people out there who have experience with large Oracle databases on the following questions:
---OR----
b) create one table that had all the lookup values in it, then
relate each row to a "parent" or "type" that describes the purpose of
that particular item. e.g.:
table: all_types
type_id integer description varchar(40) table: types_to_types parent_id integer child_id integer
where parent_id and child_id are foreign keys to the all_types.type_id table, and for each set of types (e.g. eye color, etc.) there is a record in the all_types table describing the "category" of the types.
Which method would you choose and why?
3) Char vs. Varchar2? I have heard the following arguments for char vs. varchar2:
Which philosophy (a, b, or c, or another different philosophy altogether) would you choose when designing a data model and why?
Any thoughts on these items would be greatly appreciated. Thanks!
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Dec 11 2000 - 21:41:05 CST