Current version my DB :
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 0
PL/SQL Release 12.1.0.2.0 - Production 0
"CORE 12.1.0.2.0 Production" 0
TNS for Linux: Version 12.1.0.2.0 - Production 0
NLSRTL Version 12.1.0.2.0 - Production 0
As per the document, I can use composite list or sub partitions from 12 C on wards. I have tried below query :
create table t (
empno int,
deptno int,
sal int)
partition by list(deptno,sal)
( partition p1 values(10,1000) ) ;
I am getting below error :
Error starting at line : 1 in command -
create table t (
empno int,
deptno int,
sal int)
partition by list(deptno,sal)
( partition p1 values(10,1000) )
Error report -
ORA-14304: List partitioning method expects a single partitioning column
14304. 00000 - "List partitioning method expects a single partitioning column"
*Cause: number of columns in a partitioning column list exceeded
the legal limit of 1 for List partitioned objects
*Action: modify partitioning column list so that it consists of at
most 1 column