无密码登陆:sys as sysdba

查看当前的所有:select */name from v$database;

查看当前数据库连接用户:show user

查看当前数据所有表:select table_name from all_tables;

查看结构:如表结构:desc table1 --需在命令窗口模式下

新建数据库用户:create user username identified by password

授权:grant dba to username

更改数据库用户密码:alter user username identified by password

查看数据库里面所有用户,前提是你是有dba权限的帐号,如sys,system:select * from dba_users

查看你能管理的所有用户:select * from all_users

查看当前用户信息 :select * from user_users

导出:exp [email protected] file=d:\daochu.dmp full=y

导入:imp [email protected] file=d:\daochu.dmp