I suspect that you really do not want to create a new database. What's
wrong with the one you have? I suspect that you are coming from the ms sql
world and there you create new databases inside of instances. That is not
what you do in Oracle.(different product.) Instead an Oracle instance, and
you can have more than one instance per machine, is a database. In each
database you have schemas. Think of schemas as sql server type databases.
If you somehow give Scott enough rights to create a database and figure out
how to issue the command you will probably wipe out your current database.
You might not want to do that.
If you want to actually create a new database then you have to create a new
instance. Best way to see how to do that is to use the dbassistant and
don't let it run the scripts. Let it create the scripts for you and then
you can see what the scripts do.
(eg
connect internal
startup nomount
--there isn't a database so you can't mount anything
create database .....
)
Also look in the manual especially the sql reference manual.
Jim
> > A tablespace and a database are not the same thing. If you were able to
> > logon and grant scott a privlidge they you already have a database. In
> > Oracle each instance is 1 database. Each database can have multiple
> schemas
> > which is what you want.
> > Jim
> No, sorry, I don't want schemas,I want a new database.
> I'm new to oracle and thought it could be that I could create a new
database
> if I have the right to create tablespace.But now I read it's only to
divide
> an existing database in logical areas.I really want to execute the "create
> database" command
> in SQL*Plus. Which rights need I to do it ?
> You wrote "If you were able to logon ... you already have a database".
> Yes, I want only to logon to the existing database to start SQL*Plus to
> create a new database. And I want to know it how to do it with command
> lines for the case that I can't use the "database configuration
assistent".
> 1)Is it possible to start SQL*Plus without an existing database only for
> creating a new database ?
> When it is possible what are the logon data ?
> 2)Which rights need I to use the CREATE DATABASE command ?
> Theo Klein