Oracle Error ORA-14268: subpartition ‘string’ of the partition resides in offlined tablespace

Oracle Error Message

ORA-14268: subpartition ‘string’ of the partition resides in offlined tablespace

Reason for the Error

User attempted an operation requiring that we access data in a subpartition which resides in a tablespace which was taken offline. Such operations include trying to drop a tablespace of a table which has indices defined on it or is referenced by a constraint.

Solution

Bring tablespace online before attempting the operation.