can you please point me a guide line for the following situation.
- I will create a user/schema, a tablespace for that schema.
- Then will create sequence [I have script in a separate sql file]
- Then will create table and triggers [I have script in a separate sql file]
- Then will create Type [I have script in a separate sql file]
- Then will create Function [I have script in a separate sql file]
- Then will create Views [I have script in a separate sql file]
- Then will create StoredProcedures [I have script in a separate sql file]
- and may be packages.
- I also will have insert statement for all the tables above [separate script]
I have taken the scripts for all of the items above except user/schema and Tablespace.
What now I want is, I will have a MasterScript file, where I will mention my user/schema name and table space and all the script file above.
If I ran the MasterScript file that will handle/execute all the other script file from sql command prompt.
Can someone point me how can I achieve that?