Something like this, your paths may vary...

copy C:\build_db\initDB.ora  D:\Admin\YOURSID\PFILE\initYOURSID.ora
pause
set ORACLE_SID=YOURSID
oradim -new -sid YOURSID -intpwd superman -startmode manual -pfile
D:\Admin\YOURSID\PFILE\initYOURSID.ora 
svrmgrl @C:\build_db\build_tablespace.sql
oradim -edit -sid YOURSID -startmode auto

bob


 Hi all,
> 
> I want to know when you want to create a new database before 
> that do you have to create a new instance first if yes HOW? 
> This is my first step for create a new database(or instance).
> 
> ORACLE_SID=TEST
> export ORACLE_SID
> 
> CONNECT INTERNAL
> STARTUP NOMOUNT PFILE ='PATH/initTEST.ORA' ----->> BUT HERE 
> IN INIT FILE WE HAVE TO MENTINED THE CONTROL FILE THIS SHOULD 
> BE JUST THE LOCATION & NAME ?? SO WHEN I RUN THIS SCRIPT THE 
> DATABASE & INSTANCE WILL BE CREATED OR I HAVE TO DO MORE STEPS.
> 
> THANKS FOR HELP
> 
> 
> 
> Hamid Alavi
> Office 818 737-0526
> Cell    818 402-1987
> 
> 
> 
> 
> 
> 
> ======================= Confidentiality Statement 
> ======================= 
> The information contained in this message and any attachments is 
> intended only for the use of the individual or entity to which it is 
> addressed, and may contain information that is PRIVILEGED, 
> CONFIDENTIAL 
> and exempt from disclosure under applicable law.  If you have 
> received 
> this message in error, you are prohibited from copying, 
> distributing, or 
> using the information.  Please contact the sender immediately 
> by return 
> e-mail and delete the original message from your system. 
> ===================== End Confidentiality Statement 
> =====================  
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Hamid Alavi
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') 
> and in the message BODY, include a line containing: UNSUB 
> ORACLE-L (or the name of mailing list you want to be removed 
> from).  You may also send the HELP command for other 
> information (like subscribing).
> 
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Bob Metelsky
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to