骚年,oracle里没有smallint这种类型的数据,smallint字段类型任然对应number.
CREATE TABLE relatrec_feat (
sect_id number(11) NOT NULL,
rel_id number(11) NOT NULL,
feat_seq number(11) NOT NULL,
feat_cat smallint NULL,
daset_id number(11) NULL,
feat_sect_id number(11) NULL,
lay_id number(11) NULL,
feat_id number(11) NULL,
PRIMARY KEY(sect_id, rel_id, feat_seq)
);
汗.oracle 明显有smallint类型 ,数值范围:-32,768 到 32,767 有smallint(6)范围的?
第一次用oracle吧,这不是坑爹么。。。smallint不是oracle里面的,请使用number()