[英]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.