Oracle

Moderators: None (Apply to moderate this forum)
Number of threads: 348
Number of posts: 673

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
how to create database in oracle Posted by shankar_nsm on 21 Nov 2007 at 4:34 AM
hi
i am new to oracle database how to create database in oracle 9i a sample code would be very helpful
Report
Re: how to create database in oracle Posted by homework help on 21 Nov 2007 at 6:47 AM
: hi
: i am new to oracle database how to create database in oracle 9i a
: sample code would be very helpful
type in the database client
help create database
Homework Help
Report
This post has been deleted. Posted by amanda01 on 12 Oct 2009 at 3:01 AM
This post has been deleted.
Report
This post has been deleted. Posted by amanda01 on 12 Oct 2009 at 3:02 AM
This post has been deleted.
Report
Re: how to create database in oracle Posted by amanda01 on 12 Oct 2009 at 3:03 AM
There are two ways that you can create a database in Oracle 9i. One way is to use the Oracle Database Configuration Assistant. Using the Oracle Database Configuration Assistant makes sure that the new database is optimized with Oracle 9i’s latest features. Simply read the instruction and follow the prompts. The other way to create a database is to do it manually. This will now be demonstrated.Create a suitable directory structure for the new database. Once this is done, copy the init.ora file into a new file named init{SID}.ora into new directory

Now you have created a parameter file, you’ll need to declare an Oracle SID name. Keep the SID consistent with the parameter filename. The command to do this action will depend on the platform you have the DBMS installed. If you are using Windows, simply type,

Set ORACLE_SID = {SID}

Alternatively, on the a unix platform, the DBA must type,

Export ORACLE_SID = {SID}

Use SQL*Plus under / as sysdba and set the database to nomount mode.

So, if we wish to override the default spfile to start the new instance in nomount mode then type,

Startup nomount pfile = ‘<directory>\init{SID}.ora’

Now we are about to create the database. When creating a new database, write the code into an sql file so that your have a copy of the database features as well as the ability to fix any mistakes in the create database command. Here is the code,

CREATE DATABASE ShepIT
Maxinstances 1
Maxloghistory 1
Maxlogfiles 10
Maxlogmembers 15
Maxdatafiles 100
Datafile ‘<directory>\datafile_01.dbf’
size 300M reuse autoextend on next 15M maxsize unlimited
character set WE8MSWIN1252
national character set AL16UFT16
logfile
group 1 (‘<directory>\redo_01.log’) size 75M
group 2 (‘<directory>\redo_02.log’) size 75M
group 3 (‘<directory>\redo_03.log’) size 75M
default temporary tablespace TEMP
tempfile ‘<directory>\temp_01.dbf’
extent management local uniform size 1M
undo tablespace UNDO_TS datafile ‘<directory>\datafile_01.dbf’
size 125M reuse autoextend on next 15M maxsize unlimited;

Oracle, should respond by saying that the database is created. Once this is done you are ready to load scripts that are needed to support your Oracle products by typing the following commands

@<directory>\catalog.sql
@<directory>\catproc.sql
@<directory>\catexp.sql

Ok, the database is configured. Change the SYSTEM and SYS passwords, to ensure better security for your database.

or if you still have confusion just log on to www.learn-Oracle-OLAP.com to get ur issue resolved. creating datab
ase through dbc assistsnce is easy but creating
manually is bit tuf because u need to type the
code on to word pad and then execute it. even i faced
the same problem i consulted e-book available at
www.learn-Oracle-OLAP.com and got the solution.
Report
Re: how to create database in oracle Posted by amanda01 on 24 Jan 2010 at 7:37 AM
to know that as we create schema in oracle and we store our database in that schema, in... The Database in Oracle ...cannot be created until the.









_______________
[url=http://www.microsoftoffice-2010.com/] Download Windows 7 [/url]



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.