Home > Database > Oracle > body text

How to delete oracle user and table space

青灯夜游
Release: 2022-01-07 16:16:14
Original
15886 people have browsed it

In Oracle, you can use the "drop user user name cascade;" command to delete the specified user, and you can use the "DROP TABLESPACE table space name INCLUDING CONTENTS AND DATAFILES;" command to delete the specified table space.

How to delete oracle user and table space

The operating environment of this tutorial: Windows 7 system, Oracle 11g version, Dell G3 computer.

How to delete oracle users and table spaces

Delete users

drop user 用户名称 cascade;
Copy after login

Delete table space

DROP TABLESPACE tablespace_name INCLUDING CONTENTS AND DATAFILES;
Copy after login
Copy after login

Delete empty table space, does not contain physical files

DROP TABLESPACE tablespace_name;
Copy after login

Delete empty table space, contains physical files

DROP TABLESPACE tablespace_name INCLUDING DATAFILES;
Copy after login
Copy after login

Delete non-empty tablespace, does not contain physical files

DROP TABLESPACE tablespace_name INCLUDING DATAFILES;
Copy after login
Copy after login

Delete non-empty tablespace, contains physical files

DROP TABLESPACE tablespace_name INCLUDING CONTENTS AND DATAFILES;
Copy after login
Copy after login

Recommended tutorial: "Oracle Tutorial"

The above is the detailed content of How to delete oracle user and table space. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template