1: Prepare the initialization file initR43jxgl2.ora. (The best way is to copy an ora file directly to the previous installation instance).
2: Use the .bat file to create the corresponding file to save the related database information.
3: Prepare the script for creating the database.
4: Set the environment variable set ORACLE_SID = R43jxgl2.
5: Create a password file.
6: Create an instance name.
7: Start the database in nomount mode.
8: Connect to the database.
9:启用startup pfile='D:\oracle11g\admin\43jxgl2\pfile\init43jxgl2.ora'nomount。
10: Call the database creation script to create the database.
11: Execute @ D: \ oracle11g \ product \ 11.2.0 \ dbhome_1 \ RDBMS \ ADMIN \ catalog.sql to create a data dictionary.
12: Execute @ D: \ oracle11g \ product \ 11.2.0 \ dbhome_1 \ RDBMS \ ADMIN \ catproc.sql to create the package.
13: Set up some configurations.
14:执行SELECT dbms_registry_sys.time_stamp('CATPROC')AStimestamp FROM DUAL;。
15: Create tns.
16: Create spfile.
17: Use the command show parameter db_name to view the database name.
18: Execute pupbld. Before executing pupbld, first switch the user to system.
19: Execute scott script to create scott mode.
20: View the data.
21: The use of sys, system, scott.
Scan the code and follow the public account for more information.