安装sh示例模式时出错

时间:2017-12-20 20:48:34

标签: oracle

手动安装SH示例模式时出错。

SP2-0606: Cannot create SPOOL file "$ORACLE_HOME/demo/schema/log/sh_v3.log"

SP2-0310: unable to open file "__SUB__CWD__/sales_history/csh_v3.sql"

如果你知道任何一步一步的文章或视频,请转介我。

这是我的步骤。你能帮助我做错事吗。

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Enter user-name: sys as sysdba
Enter password:

Connected to:
Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

SQL> @?\demo\schema\sales_history\sh_main.sql

specify password for SH as parameter 1:
Enter value for 1: SH

specify default tablespace for SH as parameter 2:
Enter value for 2: users

specify temporary tablespace for SH as parameter 3:
Enter value for 3: temp

specify password for SYS as parameter 4:
Enter value for 4: SYS

specify directory path for the data files as parameter 5:
Enter value for 5: $ORACLE_HOME/demo/schema/log/

writeable directory path for the log files as parameter 6:
Enter value for 6: $ORACLE_HOME/demo/schema/log/

specify version as parameter 7:
Enter value for 7: v3

specify connect string as parameter 8:
Enter value for 8: XE

1 个答案:

答案 0 :(得分:0)

你读过&关注Installing Sample Schemas?信不信由你,它包含了install the SH Schema

的说明