My Oracle Support Banner

ORA-01738: missing IN keyword Adding Partition WITH ROW STORE COMPRESS ADVANCED Clause (Doc ID 2275982.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Creating a table with ROW STORE COMPRESS ADVANCED id giving errors.

alter table sales2 add PARTITION sales_2015 VALUES LESS THAN (TO_DATE('2015-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) ROW STORE COMPRESS ADVANCED;
alter table sales2 add PARTITION sales_2015 VALUES LESS THAN (TO_DATE('2015-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) ROW STORE COMPRESS ADVANCED
*
ERROR at line 1:
ORA-01738: missing IN keyword


Note that 'compress for oltp' is being accepted with same syntax.

alter table sales2 add PARTITION sales_2015 VALUES LESS THAN (TO_DATE('2015-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) compress for oltp;

Table altered.



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.