How to fix the Oracle error ORA-22995: TABLESPACE DEFAULT option is invalid in this context?

In this post, you’ll learn more about the Oracle ErrorORA-22995: TABLESPACE DEFAULT option is invalid in this context with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-22995: TABLESPACE DEFAULT option is invalid in this context

Reason for the Error ORA-22995: TABLESPACE DEFAULT option is invalid in this context

TABLESPACE DEFAULT option can be specified for LOB columns only in the following contexts:

– at the table level for a partitioned table

– at the partition level for a composite partition. An attempt was made to use the TABLESPACE DEFAULT option in a different context.

How to fix the Error ORA-22995: TABLESPACE DEFAULT option is invalid in this context ?

You can fix this error in Oracle by following the below steps

Remove the TABLESPACE DEFAULT option.

Tags :

Leave Your Comment