摘要: (1) 启动 监听 lsnrctl start;(2)进入sqlplus界面 sqlplus /nolog SQL>conn sys/jiaxiaoai@orcl as sysdba;(3)启动数据库实例 SQL>startup;(4)查看当前所有的数据库 select * from v$database; 或 select name from v$database;(5)查看哪些用户拥有sysdba、sysoper权限 select * from V_$PWFILE_USERS; show user;查看当前数据库连接用户(6)进入某个数据库:database 数据库名; 查.. 阅读全文
posted @ 2013-04-25 15:47 火光闪耀 阅读(198) 评论(0) 推荐(0)
摘要: 转自:http://blog.sina.com.cn/s/blog_538439270100rkx2.html1、查看数据库字符集? 数据库服务器字符集:select * from nls_database_parameters,其来源于props$,是表示数据库的字符集。 客户端字符集环境:select * from nls_instance_parameters,其来源于v$parameter,表示客户端的字符集的设置,可能是参数文件,环境变量或者是注册表会话字符集环境select * from nls_session_parameters,其来源于v$nls_parameters,表示会 阅读全文
posted @ 2013-04-25 15:46 火光闪耀 阅读(9462) 评论(0) 推荐(0)