alter index command for partition table


alter table <schema_name>.<table_name>
  add constraint <contraint_name> primary key (<column_name>, <column_name>)
  using index
  tablespace <tablespce_name>
  pctfree 10
  initrans 2
  maxtrans 255
  storage
  (
    initial 1M
    next 1M
    minextents 1
    maxextents unlimited
    pctincrease 0
  )LOCAL;

Comments

Popular posts from this blog

Installing DBMS_JAVA package in Oracle and calling UTL_DBWS web services through Oracle database

stick the job to the specific instance in Oracle RAC

finding fragmentation at table level and tablespace level in Oracle and steps to remove them