Oracle不同方法解決忘記使用者名稱密碼的情況

2021-10-01 11:01:39 字數 754 閱讀 2890

1、找到sqlplus

2、命令列介面提示輸入使用者名稱

此時輸入 /as sysdba

3、進入資料庫後,輸入

alert user ordsys account unlock;
1、在cmd或者powershell中輸入

sqlplus /nolog
2、接著分別輸入

conn / as sysdba;

alter user ordsys account unlock;

alter user ordsys identified by 123456

3、這時候在用sqlplus登入

輸入使用者名稱:ordsys

口令:123456

會顯示

這時候你需要在第2部cmd中輸入

grant create session to test;
5、再次進入sqlplus登入,輸入正確的使用者名稱密碼完美登入。

oracle 批量插入不同方案對比

實時測試的速度 48466條資料 1.297 inline view更新法 inline view更新法就是更新乙個臨時建立的檢視 update select a.join stateas join state a,b.join stateas join state b from t join si...

oracle 批量插入不同方案對比

實時測試的速度 48466條資料 1.297 inline view更新法 inline view更新法就是更新乙個臨時建立的檢視 update select a.join stateas join state a,b.join stateas join state b from t join si...

python 複製列表的不同方法

import copy a 10 20 b a c list a d a 1 e copy.copy a f copy.deepcopy a print id a a 30553152 10,11 20,21 print id b b 44969816 10,11 20 print id c c 4...