How to create a new DataBase using Oracle 10g Express Edition???

Hello, I am new to Oracle, I am used to Microsoft SQL Server (Enterprise Manager).
Here in Oracle I do not get how do I create a DataBase, and then create tables on it.
could anyone please explain to me how to do it?

A SQL Server database is roughly equivalent to an Oracle schema.
You should rarely need to create a new database. If you do need to create a database, get a 'for fee' edition of Oracle and use the dbca tool (Database Configuration Assistant) to do that. In fact, you are only allowed to have one XE database on the machine.
However, you can create as many schemas in an existing Oracle database as you need. (One schema, owned by userid SYS, is roughly equal to your 'master catalog'.)
You can create other schemas simply by
1) creating a userid that will own the schema (one designated for maintenance of the schema);
2) grant that userid appropriate privileges, such as 'CREATE TABLE', 'CREATE VIEW' as shown in the SQL Reference manual under the GRANT section;
3) provide that userid with a quota in one or more tablespaces (see the CREATE USER command in the SQL Reference manual);
4) create the objects, such as tabels, views, sequences, stored procs and functions, etc. (as in the SQL Reference manual);
5) create the users who will access the objects, and grant them the CREATE SESSION capability (as in the SQL Reference manual);
6) grant access (select, update, execute, etc.) on the schema objects to these users (as in the SQL Reference manual);
7) if desired, create synonyms on the schema objects so the users do not need to use fully qualified syntax such as "SELECT col FROM schema.table;" (as in the SQL Reference manual).
In case you are interested in looking at the SQL Reference manual, it can be found at http://www.oracle.com/pls/db102/portal.portal_db?selected=1 ;-)

Similar Messages

  • How do l create a new database in Oracle 10g Express

    How do l create a new database in Oracle 10g Express, other than the one that is created on installation?

    Hello,
    You cannot create a second XE database on the same server.
    But, Oracle database can support as many Schema as you want.
    "Oracle database" is like "SQL Server Instance" and "Oracle Schema" is like "SQL Server database". I means by this shortcut that for
    the end users accessing to different Schemas looks like accessing to different databases.
    You can have several applications on the same database. Each application has its own Schema and Datafile (Tablespace) structure.
    So on your XE database you can add a new Tablespace and create a new User/Schema as follows:
    sqlplus /nolog
    connect / as sysdba
    create tablespace {color:red}new_tablespace_name{color}
    extent management local autoallocate
    SEGMENT SPACE MANAGEMENT AUTO
    datafile '{color:red}complete_datafile_name{color}' size 100M autoextend on next 10M maxsize unlimited;
    create user {color:red}new_schema_name{color} identified by {color:red}password{color}
    default tablespace {color:red}new_tablespace_name{color}
    temporary tablespace TEMP
    quota unlimited on {color:red}new_tablespace_name{color}
    grant connect, resource to {color:red}new_schema_name{color};Then you can connect to this new User/Schema as you defined it and create your new structure and load datas.
    Hope it can help.
    Best regards,
    Jean-Valentin

  • To create standby database using oracle 10g standared edition

    my producation database is oracle 10G standard edition .Can i implement a oracle dataguard or standby database using standard edition licenses.if standby database is possiable in standard edition .what are the steps for creating a standby database using oracle 10g standard edition.

    General answer is http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#BABJICBB.
    For Data Guard you cannot :
    - use instance parameters to automatically send archived redo logs
    - use instance parameters to resolve archived redo logs gaps
    - create a logical standby
    - use SQL statements to do switchover / failover
    - use Data Guard Broker.

  • Can i create a standby database in oracle 10g standared edition ?

    what are the steps required for creating a standby database using oracle 10g standard edition. or Any other feature for mirroring database in oracle 10g standared edition

    Dear mithun,
    Please read the following online documentation;
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm
    +"+
    +2.3.2 Oracle Software Requirements+
    +The following list describes Oracle software requirements for using Data Guard:+
    +* Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition. This means the same release of Oracle Database Enterprise Edition must be installed on the primary database and all standby databases in a Data Guard configuration.+
    +Note:+
    +It is possible to simulate a standby database environment with databases running Oracle Database Standard Edition. You can do this by manually transferring archived redo log files using an operating system copy utility or using custom scripts that periodically send archived redo log files from one database to the other. The consequence is that this configuration does not provide the ease-of-use, manageability, performance, and disaster-recovery capabilities available with Data Guard.+
    +"+
    Hope That Helps.
    Ogan

  • Why i can't not create new database in oracle 10g express

    why i can't not create new database in oracle 10g express?
    should i use oracle 11g standard edition?
    thanks

    In Oracle a schema is what a 'database' is in Sqlserver.
    And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
    However, probably you don't need a new database at all, and a schema will suffice.
    Sybrand Bakker
    Senior Oracle DBA

  • Installing Discoverer with Database Version Oracle 10g Express Edition

    Hello,
    Is it possilbe to install Discoverer with database version Oracle 10g Express Edition? I have Oracle Fusion Middleware 11.1.1.1.0 on my Windows XP machine as well. If so, can someone please provide me a link to the Discoverer download.
    Regards,
    Kelly

    Note that the Personal Edition of the database is 'the most powerful' version, in that it contains all features and options of the Enterprise Edition (expect RAC and Enterprise Manager packs)
    As such, the Personal Edition, at a mere USD$400-500 is one of the most cost effective for-fee products that Oracle has in it's inventory. It is targeted at the developer. And it comes with the complete set of Sample Data, whereas XE has a very limited subset (since it does not support all functionality).
    Express Edition is indeed free, but it is not supported, and can not be patched. OTOH it does have a lighter footprint.
    Again, I am not sure whether Disco 11g is compatible with Express Edition. (It's on my schedule for December ...)

  • Not able to create partitions using Oracle 10g express edition

    Hello Everyone,
    I downloaded Oracle 10g express edition as the documentation for the same says that it supports partitioning of the table.
    But when I try to run a command like
    CREATE TABLE sales_range
    (salesman_id NUMBER(5),
    salesman_name VARCHAR2(30),
    sales_amount NUMBER(10),
    sales_date DATE)
    PARTITION BY RANGE(sales_date)
    PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
    PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
    PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
    PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
    I get the following error
    "ORA-00439: feature not enabled: Partitioning"
    Please let me know what is causing the issue/error and how to resolve it.
    Thanks.

    Where did you read that the express edition supports partitioning? I would strongly suspect that there was an error in the documentation-- partitioning is an extra cost option on top of an enterprise edition database. Perhaps you are confusing the personal edition (which does support partitioning) with the express edition?
    Justin

  • How to create a new database using Enterprise manager?

    hi all,
    thank you for all your support. i want to create a new database . I tried following these steps
    i am using Oracle 9i and windows XP
    1, opened the enterprise manager by clicking from programs
    2,selected launch standalone Application
    3, from the tree i expanded the network node and expanded the databases node ,now i can see the globaldatabase i created during installation . i can login that database using systems and manager (username & password )
    4, clicked the new database icon from the window , a small window with node named database appeared
    5 , I tried to expand that by clicking on the database node ,but it pops up a new window showing no active session selected
    I would be grateful if anyone can suggest a solution for this
    thanks & regards

    Hi,
    How can i access DBCA
    start ---> run ---> DBCA <<hit enter>>
    or
    start ---> program ---> oracle home ---> configuration tools ---> database configuration assistant.Regards
    Mohammed Taj
    http://dbataj.blogspot.com

  • Create a New DB in Oracle 10g Express

    Dear experts
    I have downloaded and installed oracle 10g express on windows 2000 Professional System.
    Now i would like to create a database called AcmeInc and in that database object i want to create tables and relationship. Can anyone please tell how i can do this from HTML interface? or through SQL command. Please help i am new to Oracle and have used MS SQL Server
    Thanks
    Manish Sawjiani

    Check these two links for some facts about Oracle 10g XE :
    http://www.oracle.com/technology/products/database/xe/pdf/dbxe_faq.pdf
    http://www.oracle.com/technology/products/database/oracle10g/pdf/twp_general_10gdb_product_family.pdf
    And this is the Tutorial :
    http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm

  • Creating a Database with Oracle 10 Express Edition

    Hello,
    I had installed Oracle Database 10g Express Edition whith linux, fedora core 4.
    I want to create a new database with Oracle 10g Express Edition. How can i do this?
    I know that Orcale 10g express edition have only one Database which is installed by default sid 'XE', but my database must have another name.
    Thanks.

    Really you need to change database name ?
    Oracle 10g Espress Edition and change ORACLE_SID

  • How to Create A new Database in the oracle 10g XE

    i have oracle 10g XE i tried to create a new database but its giveing me error when i execute the sql command that is create database testDatabase how to create a new database in oracle 10g XE

    Hi there 785434,
    (This is a generic SQL question relating to Database Triggers, please post future questions of this type into the relevant forum area.)
    Moderator, please move this if able
    I use Before Update and Before Delete Triggers to record a 'snapshot' of the row being changed in my applications.
    Example:
    CREATE TABLE TEST
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE
    LOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE TABLE TEST_HISTORY
    DATA VARCHAR2(64 CHAR),
    CREATING_USERID VARCHAR2(20 CHAR) DEFAULT user NOT NULL,
    CREATED_DATE DATE NOT NULL,
    CHANGED_BY_USERID VARCHAR2(20 CHAR),
    CHANGED_DATE DATE,
    CHANGE_DESCRIPTION
    NOLOGGING
    STORAGE
    (MAXEXTENTS UNLIMITED);
    CREATE OR REPLACE TRIGGER TRG_BU_TEST
    BEFORE UPDATE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'UPDATE');
    END;
    CREATE OR REPLACE TRIGGER TRG_BD_TEST
    BEFORE DELETE ON TEST FOR EACH ROW
    BEGIN
    INSERT /*+ append */ INTO TEST_HISTORY
    (DATA, CREATING_USERID, CREATED_DATE, CHANGED_BY_USERID, CHANGED_DATE, CHANGE_DESCRIPTION)
    VALUES
    (:old.DATA, :old.CREATING_USERID, :old.CREATED_DATE, USER, SYSDATE, 'DELETE');
    END;
    Using triggers like this will record who made an update or delete to the database and record the row before it was changed.
    Note that this method might not be suitable for very high transaction rates.
    You will need to 'clear' these history tables as part of routine maintenance.
    Hope that this Helps.
    Ronald.

  • SQL QUERY to create new schema in Oracle 10g Express

    Can anyone provide the SQL query to create a new schema in Oracle 10g Express edition.

    Can anyone provide a SQl query to create a
    schema/user named 'test' with username as 'system'
    and password as 'manager'system user is created during database creation, it's internal Oracle admin user that shouldn't be used as schema holder.
    In Oracle database, Oracle user is schema holder there's no seperate schema name to be defined other than username.

  • How can i create a new database instance in oracle 10g express edition?

    hello everybody
    i'm a student
    i am developing a database application
    i'm using oracle 10g express edition
    to run my application i need to create another database instance
    but i didn't find any option for doing so in that product
    if there is pls tell me where it is?
    if not pls tell me how to manually create it?
    regards,
    Chaitanya

    Chaitanya Babu M wrote:
    yaa i'm sure about that .
    i want one more instance of database.Can you perhaps explain why? I have a fair share of production and development servers - and not a single one of them needs to run more than one database instance.
    So I'm interested in what requirement you are trying to satisfy by using two database instances on a single platform.
    Oh yeah - if you want to create a custom XE instance (different SID, different tablespace sizes, more/less PL/SQL stuff installed, hack standard), make a copy of your XE db creation script (in your XE's +$ORACLE_HOME/bin+ and called createdb.sh ) and modify that for your needs.
    PS. even with a different SID, only a single XE instance can be run at a time - you can however have 2 different ones defined and then use one at a time (e.g. testing international settings, init param differences, etc.)

  • Creating database oracle 10g express edition

    1. can we create more than one database in oracle 10g express edition?
    2. can we rename database name default "XE" in Oracle 10g express edition?

    >
    1. can we create more than one database in oracle 10g express edition?
    >
    No you cannot.
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm
    >
    3.2 Oracle Database XE Installation and Execution Restrictions
    <li>On a single computer, only one installation of the Oracle Database XE software can be performed.</li>
    <li>In addition, users can run only one instance of the Oracle Database XE database on each individual computer.</li>
    To run more than one Oracle Database server instance or install more than one copy of the database software, upgrade to Oracle Database 10g Standard Edition, Oracle Database 10g Standard Edition One, or Oracle Database 10g Enterprise Edition.
    >
    >
    2. can we rename database name default "XE" in Oracle 10g express edition?
    >
    Yes you can. Please see the link below for details.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:963124000346653522
    XE questions are best answered here {forum:id=251}
    Regards,
    Phiri

  • Oracle 10g express Edition Database

    We are using oracle 10g express edition with a temporary storage space for a class using SQL. When creating and using the database, the data is being deleted after 1 or 2 days and students are having to start over, creating tables and inserting data. Any suggestions?

    suggestions?Backups?
    Or, as long as the DDLs and DMLs don't take long, rerunning table create and insert SQLs would probably be much faster than setting up the database(s) in archivelog mode and copying datafile/archivelog files or rman backup files someplace that won't get reimaged every other day.

Maybe you are looking for

  • Can't access my NTFS formatted hard drive anymore on my Mac OS?

    I downloaded this app back in November because of my new transfer to a MacBook Pro from a Windows PC. http://www.macupdate.com/app/mac/26288/ntfs-for-mac-os-x It worked fine back in November but now I am trying to back up my files and I cannot access

  • How to exit from an update Function Module

    Hi Friends, I am using an Update Function Module in my program.The Program also has various other logics implemented in it. The Update Function Module gets triggered only when it finds COMMIT WORK statement. Now, I want that when the FM gets triggere

  • How to create a cropping preset?

    Hello, So I am new to using Premiere and am having some difficulties locating things (if they even exist.) I create videos for YouTube and on my endslate I have a "Last Episode" which has my last video cropped smaller. When I used Vegas I was able to

  • Why won't safari quit?

    Prior to this occasion, my safari has always worked and now I have been trying to shut down my computer and it won't because I have to quit safari. Now my safari won't work. Does anyone know why? Thanks.

  • No Audio Output Device is installed

    Hi, I have a brand new Pavilion Sleekbook 14-b029TU running 64bit windows 8. product no: c7e65pa#abg. to the right near the speaker is a red cross. when i hover the mouse over it it says no audio output device is installed. i followed all the ideas o