Database creation script [message #122295] |
Sun, 05 June 2005 04:56 |
papu
Messages: 27 Registered: March 2005 Location: Dhaka
|
Junior Member |
|
|
hi all,
i'have two questions.
can i change the db sid after database creation.
i want to create a database manually. can anyone supply me a Database creation script.
regards
papu
|
|
|
|
|
Re: Database creation script [message #123260 is a reply to message #122359] |
Fri, 10 June 2005 17:43 |
mbartov
Messages: 4 Registered: June 2005 Location: Dallas, TX
|
Junior Member |
|
|
I just posted a new set of graphical tools to manage, monitor and tune the oracle database.
One of the many functions is to help generate a script to create a database. Another function generates a script to clone a datbase, a way to change an SID after creating a database.
It is free and can be downloaded from www.odbtools.com (www.odbtools.com/download.htm). I will greatly appreciate any suggestions.
|
|
|
|
|
Re: Database creation script [message #123598 is a reply to message #122295] |
Tue, 14 June 2005 02:08 |
lixinyu
Messages: 3 Registered: June 2005
|
Junior Member |
|
|
papu wrote on Sun, 05 June 2005 05:26 | hi all,
i'have two questions.
can i change the db sid after database creation.
i want to create a database manually. can anyone supply me a Database creation script.
regards
papu
|
1,
to change the db sid after database creation:
if you want to hold current datafiles, I think you need to recreate the controlfile using
"CREATE CONTROLFILE set DATABASE "databasename" "
you can get the script to recreate controlfile by
"alter database backup controlfile to trace", read the tracefile carefully.
and if you needn't hold current datafiles, just recrete database
2, to create a database manually
here is a script to create a simplest database, do read carefully and chage it for you customization!
-
Attachment: CRE_DB.zip
(Size: 2.19KB, Downloaded 1137 times)
|
|
|