You are on page 1of 1

save all the scripts in oracle/product/10.2.


Script Name Description hr_analz.sql Collects statistics on the tables in the schema. hr_code.sql Creates procedural objects in the schema. hr_comnt.sql Creates comments for each object in the schema. hr_cre.sql Creates the HR objects. hr_dn_c.sql Adds the distinguished name column used by Oracle Internet Direc tory to the employees and departments tables. hr_dn_d.sql Drops the Oracle Internet Directory distinguished name column fr om employees and departments. hr_drop.sql Drops the HR schema and all its objects. hr_idx.sql Creates indexes on the HR tables. hr_main.sql Main script for the HR schema; calls other scripts. hr_popul.sql Populates the objects. then connect sqlplus from command prompt as sys dba run the script hr_main as sys dba to run script type the full path @C:\oracle\product\10.2.0\db_2\demo\schema\human_resources\hr_main.sql