1、查看數(shù)據(jù)庫中有哪些用戶? select username from all_users; 2、查看數(shù)據(jù)庫中有哪些DBA用戶? select username from dba_users; 3、查看當前用戶擁有哪些表? select table_name from user_tables; 4、Oracle新建表空間,建立用戶的步驟? A,創(chuàng)建表空間 create tablespace blueskydb datafile 'D:\oracle\product\10.2.0\oradata\bluesky\blueskydb.dbf' size 500m; B、新建用戶 create user bluesky identified by bluesky; C、用戶授權(quán) grant resource, connect, RECOVERY_CATALOG_OWNER to bluesky; grant create table to bluesky; alter user bluesky quota unlimited on blueskydb; alter user bluesky default tablespace blueskydb; D、這樣就可以了,使用SQLPLUS或其他的工具連接試試吧!