069 / 58 80 436 10 info@dbaservices.de
ORA-01549 tablespace not empty, use INCLUDING CONTENTS option

1.) Texte aus oerr unter Linux

01549, 00000, „tablespace not empty, use INCLUDING CONTENTS option“
// *Cause: Tried to drop a non-empty tablespace
// *Action: To drop all the objects in the tablespace, use the INCLUDING
//         CONTENTS option

2.) Erklärung

Es wurde versucht, ein Tablespace zu löschen. Allerdings enthält dieser immer noch Objekte.

Beispiel:

SQL> create tablespace MONITOR datafile size 5G autoextend on
/
2  DEFINE TABLESPACE1 = ‚MONITOR‘
CREATE TABLE „DBUSER“
(
„USER_ID“ VARCHAR2(100 BYTE),
„USERNAME“ VARCHAR2(100 BYTE),
„CREATED_BY“ VARCHAR2(100 BYTE),
„CREATED_DATE“ DATE
) TABLESPACE „&TABLESPACE1.“
/
drop tablespace MONITOR
/

Tablespace created.

SQL> SQL>   2    3    4    5    6    7    8  old   7: ) TABLESPACE „&TABLESPACE1.“
new   7: ) TABLESPACE „MONITOR“

Table created.

SQL>   2  drop tablespace MONITOR
*
ERROR at line 1:
ORA-01549: tablespace not empty, use INCLUDING CONTENTS option

3.) Lösungsvorschläge

Den Befehl drop tablespace mit der Erweiterung including contents ausführen.

SQL> drop tablespace <tablespace_name> including contents;

Beispiel:

SQL> drop tablespace MONITOR including contents;

Tablespace dropped.

Haben Sie Fragen?

(erforderlich)
Dieses Feld dient zur Validierung und sollte nicht verändert werden.

NEUSTE BEITRÄGE

ORA-06502 – PL/SQL: numeric or value error%s

1.) Texte aus oerr unter Linux 06502, 00000, „PL/SQL: numeric or value error%s“ // *Cause: An arithmetic, numeric, string, conversion, or constraint error //        occurred. For example, this error occurs if an attempt is made to //         assign the value NULL to a...

ORA-01843 – not a valid mont

01843, 00000, „not a valid month“ // *Cause: A date specified an invalid month.//      Valid months are: January-December, for format code MONTH, and Jan-Dec, for format code MON. // *Action: A date specified an invalid month.// Valid months are: January-December, for...

ORA-12154 – TNS:could not resolve the connect identifier specified

1.) Texte aus oerr unter Linux 12154, 00000, „TNS:could not resolve the connect identifier specified“ // *Cause: A connection to a database or other service was requested using // a connect identifier, and the connect identifier specified could not // be resolved into...

Hochverfügbare Datenbanksysteme? dbaservices!

Neu Isenburg 14. Februar 2014, dbaservices bietet mit “DB 24/7″ einen Premiumdienst für echte Hochverfügbarkeit Ihrer Datenbanken: Daten und deren Verfügbarkeit genießen maximale Priorität. Hochverfügbare Datenbanksysteme? dbaservices! Sie erreichen die dbaservices...