+49 6102 86801 50 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?

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

NEUSTE BEITRÄGE

ORA-01460 – unimplemented or unreasonable conversion requested

1.) Texte aus oerr unter Linux 01460, 00000, „unimplemented or unreasonable conversion requested“ // *Cause: // *Action: 2.) Erklärung Dieser Fehler tritt auf, wenn eine Konversion von Daten mit den Funktionen TO_CHAR, TO_DATE oder TO_NUMBER durchgeführt werden soll,...

ORA-01461 – can bind a LONG value only for insert into a LONG column

1. Texte aus oerr unter Linux 01461, 00000, „can bind a LONG value only for insert into a LONG column“ // *Cause: // *Action:  2. Erklärung Es wurde versucht, Daten vom Typ LONG in ein Feld anderen Typs einzufügen. Dies ist jedoch nicht möglich. Stattdessen wird diese...

ORA-01465 – invalid hex number

1.) Texte aus oerr unter Linux 01465, 00000, „invalid hex number“ // *Cause: // *Action: 2.) Erklärung Es werden gültige Werte in Hex erwartet. In dem String befinden sich jedoch ungültige Werte. Dieser Fehler kann beim Füllen eines Feldes vom Typ BLOB auftreten. 3.)...

ORA-01728 – numeric scale specifier is out of range (-84 to 127)

1.) Texte aus oerr unter Linux 01728, 00000, „numeric scale specifier is out of range (-84 to 127)“ // *Cause: // *Action: 2.) Erklärung Beim Anlegen einer Tabelle ist die Anzahl der Nachkommastellen bei einem Feld vom Typ number außerhalb des gültigen Bereichs. 3.)...

ORA-02049 – timeout: distributed transaction waiting for lock

1.) Texte aus oerr unter Linux 02049, 00000, „timeout: distributed transaction waiting for lock“ // *Cause: exceeded INIT.ORA distributed_lock_timeout seconds waiting for lock. // *Action: treat as a deadlock 2.) Erklärung Eine Transaktion hatte darauf gewartet, ein...