91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

ORA-01940: cannot drop a user that is currently

發布時間:2020-06-10 05:45:47 來源:網絡 閱讀:1047 作者:yangjunfeng 欄目:關系型數據庫

Oracle刪除某個用戶,報錯:
12:17:05 SYS@RCBD1(BAPRCDB)> drop user GSDPAY cascade;
drop user GSDPAY cascade
*
ERROR at line 1:
ORA-01940: cannot drop a user that is currently connected

使用刪除當前用戶會話后,鏈接一直在變,一直在漲。
12:21:13 SYS@RCBD1(BAPRCDB)> select 'alter system kill session '''||sid||','||serial#||''';' from v$session where username = 'GSDPAY';

'ALTERSYSTEMKILLSESSION'''||SID||','||SERIAL#||''';'

alter system kill session '39,25167';
alter system kill session '144,15001';
alter system kill session '155,31897';
alter system kill session '297,27285';
alter system kill session '478,61659';
alter system kill session '1043,54247';
alter system kill session '1427,47505';
alter system kill session '1565,1707';
alter system kill session '1608,4123';
alter system kill session '1615,9605';
alter system kill session '1728,34805';
alter system kill session '1886,5755';
alter system kill session '2005,36393';
alter system kill session '2023,62813';
alter system kill session '2034,17133';
alter system kill session '2154,36941';
alter system kill session '2297,57457';
alter system kill session '2310,34881';
alter system kill session '2321,4779';
alter system kill session '2427,5759';
alter system kill session '2461,19827';
alter system kill session '2569,56201';
alter system kill session '2721,45675';
alter system kill session '2844,19895';
alter system kill session '2851,63481';
alter system kill session '2984,51063';
alter system kill session '2999,44415';
alter system kill session '3319,40307';
alter system kill session '3450,8641';
alter system kill session '3700,27449';
alter system kill session '3859,35379';
alter system kill session '3884,54613';
alter system kill session '4265,62259';
alter system kill session '4276,38659';
alter system kill session '4428,22593';
alter system kill session '4438,55087';

36 rows selected.

不是這個問題,嘗試刪除用戶表空間
12:24:57 SYS@RCBD1(BAPRCDB)> select default_tablespace from dba_users where username='GSDPAY';

DEFAULT_TABLESPACE

GSDPAY_DATA

12:25:05 SYS@RCBD1(BAPRCDB)> drop tablespace GSDPAY_DATA including contents and datafiles;

Tablespace dropped.

12:29:08 SYS@RCBD1(BAPRCDB)> drop user GSDPAY cascade;
刪除成功,好記性不如爛筆頭,記錄一下

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

广昌县| 丁青县| 文登市| 特克斯县| 遂溪县| 勐海县| 枞阳县| 邢台市| 彭山县| 扎兰屯市| 牡丹江市| 尉犁县| 洪江市| 银川市| 滨海县| 安西县| 辽中县| 许昌县| 会同县| 建水县| 江华| 德化县| 全南县| 汝阳县| 简阳市| 贺兰县| 南投市| 满城县| 布尔津县| 峨眉山市| 龙陵县| 永德县| 开封市| 浮梁县| 崇礼县| 太白县| 泉州市| 托里县| 赤水市| 丹东市| 屯昌县|