Home > Database > Mysql Tutorial > oracle怎么删除用户提供解决方案

oracle怎么删除用户提供解决方案

WBOY
Release: 2016-06-07 17:55:45
Original
879 people have browsed it

本文将介绍oracle如何删除用户的方法实现步骤,有需要的朋友可以参考

在Oracle中删除用户时提示:ORACLE无法删除当前连接用户可以用以下语句

Sql代码
SQL>
代码如下:select username,sid,serial# from v$session;
USERNAME SID SERIAL#
------------------------------ ---------- ----------
1 1
2 1
3 1
4 1
5 1
6 1
7 1
SYS 8 3
A 9 4
已选择9行。
SQL>
代码如下:
alter system kill session'9,4';

系统已更改。
SQL>
代码如下:
drop user a cascade;//删除用户以及用户表空间下所有对象
用户已丢弃。
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