Oracle數據庫忘記了密碼如何查看數據庫表數據

sqlplus / as sysdba
查看DBA用戶
SQL> desc dba_users;



SQL> select username,password from dba_users order by created desc;


 

直接查某一個庫的表;
SQL> select table_name from dba_tables where owner='CCS';


訪問某個庫表內容
SQL> select count(*) from ccs.PS_SO_SIGN_20160721;


修改用戶的密碼
SQL> alter user direp identified by 123456;
用戶名密碼訪問相應庫
SQL> connect direp/123456;
查詢庫下面的表
SQL> select table_name from user_tables;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章