Home > Database > Oracle > body text

How to delete oracle user

WBOY
Release: 2022-01-25 15:04:45
Original
30991 people have browsed it

In Oracle, you can use the drop command to delete users. This command can delete specified data. This command can be used with the cascade keyword to delete users. The syntax is "drop user username cascade;".

How to delete oracle user

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

How to delete oracle user

sqlplus login

sqlplus sys/isc@testgmmc as sysdba
Copy after login

Create user

create user testpoi3 IDENTIFIED by isc
account unlock;
grant dba,advisor to testpoi2;
Copy after login

Delete user

drop user djcfw cascade;
Copy after login

Data export

exp testwms2/isc@test-193 OWNER=testwms2 FILE=D:\temp\testwms2.dmp
exp testapar/isc@hs OWNER=testapar FILE=D:\testwms2.dmp TABLES=DEPT
Copy after login

Examples are as follows:

How to delete oracle user

Recommended tutorial: "Oracle Video Tutorial"

The above is the detailed content of How to delete oracle user. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!