If you create a range partitioned index organized table, the "View SQL" function wrongfully places the "organization index" clause below the partitiong information. This clause belongs before the partitioning info.
Example:
create table TEST
(
SORTID NUMBER(4),
VALUE VARCHAR2(25),
constraint TEST_PK primary key (SORTID)
)
organization index
partition by range (SORTID)
(
partition TEST values less than (1)
)
"View SQL" shows:
-- Create table
create table TEST
(
SORTID NUMBER(4) not null,
VALUE VARCHAR2(25),
constraint TEST_PK primary key (SORTID)
)
partition by range (SORTID)
(
partition TEST values less than (1)
)
organization index;
Example:
create table TEST
(
SORTID NUMBER(4),
VALUE VARCHAR2(25),
constraint TEST_PK primary key (SORTID)
)
organization index
partition by range (SORTID)
(
partition TEST values less than (1)
)
"View SQL" shows:
-- Create table
create table TEST
(
SORTID NUMBER(4) not null,
VALUE VARCHAR2(25),
constraint TEST_PK primary key (SORTID)
)
partition by range (SORTID)
(
partition TEST values less than (1)
)
organization index;