设为首页 加入收藏

TOP

windows下安装不同版本oracle的一点体会
2015-11-21 01:51:25 来源: 作者: 【 】 浏览:0
Tags:windows 安装 不同 版本 oracle 一点 体会
1. 使用set oracle_sid=***可以在不同版本的oracle实例之间进行跳转。 2.在不同的oracle_home很可能无法登陆oracle实例,此时该home下的network/admin/sqlnet.ora在起作用;
I:\oracle\product\10.2.0\client_1\BIN>set oracle_sid=ora11g
I:\oracle\product\10.2.0\client_1\BIN>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on 星期日 8月 12 07:30:36 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR: ORA-12546: TNS: 权限被拒绝

3. cmd提示符的当前路径是oracle 11.1.0.1的一个oracle_home,set sid后,能进入11g的oracle实例, F:\app\Administrator\product\11.1.0>set oracle_sid=ora11g F:\app\Administrator\product\11.1.0>cd db_1\BIN
F:\app\Administrator\product\11.1.0\db_1\BIN>sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on 星期日 8月 12 07:28:16 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit 从 Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options 断 开
F:\app\Administrator\product\11.1.0\db_1\BIN> cd ..
F:\app\Administrator\product\11.1.0\db_1>sqlplus / as sysdba 用法: SQLPLUS [ [
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇oracle10g不支持continue解决方法 下一篇关于vs2008使用oracleclient链接o..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: