1.创建索引:
alter table TVEHICLE
add constraint CHECK_ONLY unique (CNUMBERPLATE, CVIN, CPLATETYPE, DWQCHECKDATE) ;
2.删除索引:
alter table tvehicle drop constraint CHECK_ONLY cascade drop index;
------------------------------------------------------------------
alter table test1 add constraint n_idname_unq unique(n_id,v_name)
using index
tablespace space_idex_sales;
alter table test1 drop constraint n_idname_unq cascade drop index;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28867265/viewspace-760105/
,如需转载,请注明出处,否则将追究法律责任。