简体   繁体   English

Oracle 示例 HR 模式:: 指定 HR 的默认表空间作为参数 2

[英]Oracle Sample HR schema :: specify default tablespeace for HR as parameter 2

I have downloaded Oracle Database Sample Schemas from GitHub and I'm following the official guide about how to import the HR schema manually.我已经从 GitHub 下载了 Oracle 数据库示例模式,并且我正在遵循有关如何手动导入 HR 模式的官方指南。

Oracle SQL Developer prompt me with this banner: Enter value for 2: Oracle SQL 开发人员用这个横幅提示我: Enter value for 2:

在此处输入图像描述

Which is caused by the lines:这是由以下线条引起的:

PROMPT specify default tablespeace for HR as parameter 2:
DEFINE tbs      = &2

Now.现在。

Being an official guide for newbies I expect at least an explication about the value I need to enter.作为新手的官方指南,我希望至少能说明我需要输入的值。

Especially because Oracle is providing the data so they must know if the default value should be 2, 200, 2000, etc..特别是因为 Oracle 正在提供数据,所以他们必须知道默认值是否应该是 2、200、2000 等。

  • What should I enter there?我应该在那里输入什么?

  • A number or a string?一个数字还是一个字符串?

  • Are these Kb or Mb?这些是 Kb 还是 Mb?

You need to supply the name of a TABLESPACE ;您需要提供TABLESPACE的名称; this is specified in the instructions in the README.md file in the Github repository:这在 Github 存储库README.md文件中的说明中指定:

Use your current SYSTEM and SYS passwords, and also your actual default and temporary tablespace names.使用您当前的 SYSTEM 和 SYS 密码,以及您的实际默认和临时表空间名称。 The passwords for the new HR, OE, PM, IX, SH and BI users will be set to the values you specify.新 HR、OE、PM、IX、SH 和 BI 用户的密码将设置为您指定的值。

If you have not got an existing TABLESPACE that you want to use then you need to create one using the CREATE TABLESPACE command .如果您没有想要使用的现有TABLESPACE ,那么您需要使用CREATE TABLESPACE命令创建一个。

Ie one example is :一个例子是

CREATE TABLESPACE tbs_01 DATAFILE 'tbs_f2.dat' SIZE 40M ONLINE;

Then, if you didn't have an existing tablespace you wanted to use and had used the above command, the value you would need to provide is: tbs_01然后,如果您没有想要使用的现有表空间并使用了上述命令,则需要提供的值是: tbs_01

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在OVM VIrtualBox上使用Oracle Developer天连接sqlplus hr / hr - Can't connect sqlplus hr/hr using Oracle Developer days on OVM VIrtualBox 查看“ HR”帐户(Oracle 11g)中包含的所有表 - View all table contain in 'HR' Account (Oracle 11g) 如果hr数据库仍然存在,如何在oracle sql developer中创建新数据库? - how to create a new database in oracle sql developer if hr database is still there? 如何在SQL中将24小时转换为12小时 - how to convert the 24 hr to 12 hr in sql 登录 oracle 帐户时出现错误,例如来自 sql 开发人员的“hr” - I get error when logging into oracle account such as 'hr' from sql developer 参数变量架构oracle - Parameter variable schema oracle 如何登录到Oracle SQL Developer的HR数据库(密码已过期)? - How do I log back into my HR database for Oracle SQL Developer( the password expired )? 如果我启用 HR 用户和 XEPDBA1 数据库,我在 oracle 18c 中与根数据库建立的连接会停止工作吗? - Will the connections I have made to the root database in oracle 18c stop working if I enable HR user and XEPDBA1 database? Oracle 12c:无法在 Windows 10 上安装示例架构 - Oracle 12c : Failed to install sample schema on Windows 10 麻烦将带有oracle数据库的参数文件指定到c目录 - Troubling to specify parameter files with oracle database into c directory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM