表结构优化实例
表结构优化实例 -->xzh2000 | 19 一月, 2005 16:14表结构优化实例本方法适合表中存在大量的标志字段,如下表,很多字段就只存储Y/N或0/1/2/4等,如结构如下,create table agent_settime_onself( agent_settime_onself_id number(11,0), agent_card_type_id number(11,0) not null enable, start_time_1 char(5) default '00:00' not null enable, start_time_1_enabled char(1) default 'N', stop_time_1 char(5) default '23:59' not null enable, stop_time_1_enable char(1) default 'N', start_time_2 char(5) default '00:00' not nu