Oracle顯示使用者表

來源:互聯網
上載者:User

Oracle中如何顯示當前的所有使用者表
顯示某使用者所有表(例如SCOTT,必須大寫)

select TABLE_NAME from all_tables where owner = 'SCOTT';

顯示當前的所有使用者表

select * from user_tables

顯示當前資料庫的所有表

select * from tab;

顯示當前資料資料表空間名

你可以採用sys使用者登陸
select     tablespace_name    from   dba_tables   where table_name = upper('你操作的表名')
顯示出來的TABLESPACE_NAME就是你當前操作的資料表空間的名字。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.