Hi
I am trying to create an oracle database with the CREATE DATABASE command. I am running windows 2000 server and have create the oradim which is fine.
I login as "sqlplus /NOLOG" then issue "connect sys as sysdba" when this connects it asks for the password and then i am able to start the database in nomount mode but it keeps failing to create the database.
Can anyone give me an idea when it doesn't work.
SQL Code :
/*
#----------------------------------------------------------
# Program : build_PROD.sql (Win 2000)
#----------------------------------------------------------
*/
CONNECT internal/oracle
spool e:\oracle\admin\prod\prod_build.log;
STARTUP PFILE=e:\oracle\admin\pmdb\pfile\initPROD.ora NOMOUNT;
CREATE DATABASE pmdb
LOGFILE GROUP 1
('e:\oracle\oradata\prod\redo01.log') SIZE 10M,
GROUP 2
('e:\oracle\oradata\prod\redo02.log') SIZE 10M,
GROUP 3
('e:\oracle\oradata\prod\redo03.log') SIZE 10M,
GROUP 4
('e:\oracle\oradata\prod\redo04.log') SIZE 10M
MAXDATAFILES 100
CHARACTER SET WE8ISO8859P1
/*System tablespace*/
DATAFILE 'e:\oracle\oradata\prod\system01.dbf' size 250m;
spool off
Run as @build_PROD.sql
Regards
Grace
If anyone can help me to get this running
Thank you
I am trying to create an oracle database with the CREATE DATABASE command. I am running windows 2000 server and have create the oradim which is fine.
I login as "sqlplus /NOLOG" then issue "connect sys as sysdba" when this connects it asks for the password and then i am able to start the database in nomount mode but it keeps failing to create the database.
Can anyone give me an idea when it doesn't work.
SQL Code :
/*
#----------------------------------------------------------
# Program : build_PROD.sql (Win 2000)
#----------------------------------------------------------
*/
CONNECT internal/oracle
spool e:\oracle\admin\prod\prod_build.log;
STARTUP PFILE=e:\oracle\admin\pmdb\pfile\initPROD.ora NOMOUNT;
CREATE DATABASE pmdb
LOGFILE GROUP 1
('e:\oracle\oradata\prod\redo01.log') SIZE 10M,
GROUP 2
('e:\oracle\oradata\prod\redo02.log') SIZE 10M,
GROUP 3
('e:\oracle\oradata\prod\redo03.log') SIZE 10M,
GROUP 4
('e:\oracle\oradata\prod\redo04.log') SIZE 10M
MAXDATAFILES 100
CHARACTER SET WE8ISO8859P1
/*System tablespace*/
DATAFILE 'e:\oracle\oradata\prod\system01.dbf' size 250m;
spool off
Run as @build_PROD.sql
Regards
Grace
If anyone can help me to get this running
Thank you