在安装oracle10.2.0.1数据库时没有安装scott/tiger用户解决办法
2011-09-12 14:24
393 查看
在安装oracle10.2.0.1数据库时没有安装scott/tiger用户,如何创建scott用户和该用户下的表如下:
可以在$ORACLE_HOME/rdbms/admin/scott.sql 找到此脚本进行创建,
dlp-> sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 25 23:53:17 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> @$ORACLE_HOME/rdbms/admin/scott.sql
SQL> show user
USER is "SCOTT"
SQL> select table_name from user_tables;
TABLE_NAME
------------------------------
DEPT
EMP
BONUS
SALGRADE
SQL> select * from dept;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
创建成功,OK!
可以在$ORACLE_HOME/rdbms/admin/scott.sql 找到此脚本进行创建,
dlp-> sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 25 23:53:17 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect sys as sysdba
Enter password:
Connected.
SQL> @$ORACLE_HOME/rdbms/admin/scott.sql
SQL> show user
USER is "SCOTT"
SQL> select table_name from user_tables;
TABLE_NAME
------------------------------
DEPT
EMP
BONUS
SALGRADE
SQL> select * from dept;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
创建成功,OK!
相关文章推荐
- Oracle 学习笔记3:新建数据库没有scott用户解决办法
- 解决 oracle没有Scott用户 的问题
- 安装Ubuntu版本linux过程中没有提示设置root用户密码问题的解决办法
- oracle安装时出现"加载数据库错误areasQueries"错误的解决办法
- 安装oracle 11g R2的时候提示:pdksh包没有安装 解决办法
- Oracle卸载方法和在XP下装Oracle9i遇到安装磁盘交换区没有足够空间的问题解决办法
- Oracle 数据库安装失败 一般解决办法
- oracle 11g数据库安装最强教程及遇到的问题解决办法
- 遭遇“当前用户没有安装Microsoft office word.请运行安装程序安装该应用程序。”的解决办法
- oracle 10g 安装成功之后,scott用户被锁定问题解决
- Oracle 9i安装时没有找到OCS4J.properties 解决办法
- oracle中普通用户如何查看自己登录的数据库名称?这个用户与scott权限相同,无法切换到sys下面!没有权限查看v$database和v$instance
- 安装Ubuntu版本linux过程中没有提示设置root用户密码问题的解决办法
- 关于oracle 11g 显示没创建scott用户的解决办法
- Oracle 12c 数据库中scott用户不存在的解决方法
- 安装oracle客户端,后又安装服务端,plsql任何数据库都连接不上解决办法
- 安装oracle10.2.0.1 检测时报错 lookback adapter配置为系统的主网络适配器 解决办法
- oracle安装数据库中文乱码解决办法
- 用oralce连接.net客户端出现问题:“数据连接不成功,请检查该数据库是否已启动尝试加载oracle客户端时引发BadImageFormatException.如果在安装32位Oracle客户端组件的情况下以64位模式运行,”的解决办法
- Oracle 11g sys,system,scott密码没有设置解决办法