Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It's not a pattern, it's an anti-pattern. It lies in the fact that beginners often use one universal table to store entities of different types.
Idea: instead of using three lookup tables
create table order_status (status_code varchar2(10), status_desc varchar2(40) );
create table country (country_code varchar2(3), country_name varchar2(30) );
create table priority (priority_no number(1), priority_desc varchar2(40) );
create table lookup (
lookup_type varchar2(10),
lookup_code varchar2(20),
lookup_desc varchar2(100) );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question