How we create new data base in oracle 10g express edition

hello every body.. i student of B tech n new user of oracle so please help me how we creat new data base in oracle 10g express edition

Hello, Oracle XE can not create more than one instance, the other editions yes, but like other editions XE allows you to create database schemas, schemas logically grouped objects like tables, views, indexes created by a user. By creating an Oracle user is associated with a schema of the same name.
Using SYS or system accounts for creating user accounts.
Syntax to create a user:
create user Your_user
IDENTIFIED BY password
default tablespace users;
grant connect, resources to your_user;
Edited by: rober584812 on Jun 25, 2010 9:03 PM

Similar Messages

  • 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.)

  • How get scott user database schema in oracle 10g express edition

    hi
    plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
    Iam created the user as scott but but i didn't get the table details
    ...plz give me the details correctly.

    You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
    Rem Copyright (c) 1990 by Oracle Corporation
    Rem NAME
    REM    UTLSAMPL.SQL
    Rem  FUNCTION
    Rem  NOTES
    Rem  MODIFIED
    Rem    gdudey       06/28/95 -  Modified for desktop seed database
    Rem    glumpkin   10/21/92 -  Renamed from SQLBLD.SQL
    Rem    blinden   07/27/92 -  Added primary and foreign keys to EMP and DEPT
    Rem    rlim       04/29/91 -          change char to varchar2
    Rem    mmoore       04/08/91 -          use unlimited tablespace priv
    Rem    pritto       04/04/91 -          change SYSDATE to 13-JUL-87
    Rem   Mendels     12/07/90 - bug 30123;add to_date calls so language independent
    Rem
    rem
    rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
    rem
    SET TERMOUT OFF
    SET ECHO OFF
    rem CONGDON    Invoked in RDBMS at build time.     29-DEC-1988
    rem OATES:     Created: 16-Feb-83
    GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
    ALTER USER SCOTT DEFAULT TABLESPACE USERS;
    ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
    CONNECT SCOTT/TIGER
    DROP TABLE DEPT;
    CREATE TABLE DEPT
           (DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
        DNAME VARCHAR2(14) ,
        LOC VARCHAR2(13) ) ;
    DROP TABLE EMP;
    CREATE TABLE EMP
           (EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
        ENAME VARCHAR2(10),
        JOB VARCHAR2(9),
        MGR NUMBER(4),
        HIREDATE DATE,
        SAL NUMBER(7,2),
        COMM NUMBER(7,2),
        DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
    INSERT INTO DEPT VALUES
        (10,'ACCOUNTING','NEW YORK');
    INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
    INSERT INTO DEPT VALUES
        (30,'SALES','CHICAGO');
    INSERT INTO DEPT VALUES
        (40,'OPERATIONS','BOSTON');
    INSERT INTO EMP VALUES
    (7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
    INSERT INTO EMP VALUES
    (7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
    INSERT INTO EMP VALUES
    (7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
    INSERT INTO EMP VALUES
    (7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
    INSERT INTO EMP VALUES
    (7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
    INSERT INTO EMP VALUES
    (7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
    INSERT INTO EMP VALUES
    (7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
    INSERT INTO EMP VALUES
    (7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
    INSERT INTO EMP VALUES
    (7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
    INSERT INTO EMP VALUES
    (7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
    INSERT INTO EMP VALUES
    (7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
    INSERT INTO EMP VALUES
    (7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
    INSERT INTO EMP VALUES
    (7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
    INSERT INTO EMP VALUES
    (7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
    DROP TABLE BONUS;
    CREATE TABLE BONUS
        ENAME VARCHAR2(10)    ,
        JOB VARCHAR2(9)  ,
        SAL NUMBER,
        COMM NUMBER
    DROP TABLE SALGRADE;
    CREATE TABLE SALGRADE
          ( GRADE NUMBER,
        LOSAL NUMBER,
        HISAL NUMBER );
    INSERT INTO SALGRADE VALUES (1,700,1200);
    INSERT INTO SALGRADE VALUES (2,1201,1400);
    INSERT INTO SALGRADE VALUES (3,1401,2000);
    INSERT INTO SALGRADE VALUES (4,2001,3000);
    INSERT INTO SALGRADE VALUES (5,3001,9999);
    COMMIT;
    SET TERMOUT ON
    SET ECHO ON

  • How to create new databse in existing oracle 10g

    I installed the oracle 10g enterprise edition.. I would like to create a new database inside this oracle 10g so that i can create tables , views, stored proc and else.. in that new databse to support My .net application. I have a script which defines the databse schema. Please any one provide me the script that creates the new databse and users in that ?
    Thank you!
    Madhu..

    hi..
    Use DBCA utility to create a new database.Type dbca on the cmd/terminal. A GUI tool will come, with which you can create a database.Also, while installing oracle 10g , there is a option of creating the database in the select configuration option window.Did you do Install Database Software only.
    To create manually [http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5004.htm#SQLRF01204]
    HTH
    Anand
    Edited by: Anand... on Oct 15, 2008 8:54 PM

  • How to import a data base into oracle 10g.

    hi all
    when am using the scott/tiger username and password in the SQL plus i got this msg..
    "the account is locked"
    how can i solve this issue?
    and when i use the same username and password scott/tiger in addition to define a Host string " orcl" which is my new automatically generated database while installation.. it gives me this msg: TNS: no listener.
    any help ?
    by the way i succeed to login using .. system/zaq123 which is my own created password while installing oracle 10g ....ver 10.1.2.0 ..... in addition to the Host string "orcl" ......

    If you're not familiar with OEM, or you want to learn, you can unlock that account from SQL*Plus, too.
    And when you unlocked SCOTT, don't forget to look after your TNSNAMES and LISTENER configuration...
    Good luck!

  • Oracle 10g Express Edition Beta 3 ODBC Driver Always Crashes

    I find that if you set up an ODBC Data Source for Oracle 10g Express Edition on Windows XP SP2 using the "Oracle in XE" driver, anything that tries to access it will crash, even the Windows ODBC Data Source Administratior if you click the "Test Connection" button.
    Having clicked the button, you get a window coming up entitled "Oracle ODBC Driver" with a yellow exclamation mark in it, with no other text in the window except for an OK button.
    If you press OK, then it crashes and goes through the "Please tell Microsoft about this problem" process....

    Hi,
    Thanks for your comment, but I can't get onto the XE forum.
    I found http://www.oracle.com/technology/products/database/xe/forum.html which says:
    Forum registration is possible only by downloading and installing Oracle Database XE. After installation, click on the "Registration" link from the Database homepage.
    However I find that the "Database Homepage" does not exist.
    Choosing the Oracle XE "Go To Database Home Page" takes my browser to http://127.0.0.1:8080/apex which is not available even though my oracle server is running and sqlplus can talk to it.
    There's definitely nothing serving on tcp port 8080, as follows:
    [dcampbel@clevo]~> telnet localhost 8080
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    Regards,
    -- Dave

  • How to plugin oracle 10g express edition in Eclipse Java EE

    Hi guys,
    I have downloaded Eclipse Java EE and also downloaded Oracle 10g express edition. Please some one guide me how do I plugin the database in Eclipse and use DTP in Eclipse. I am new to Oracle and Java, Please help me.
    Thanks

    Hi,
    I have installed OEPE through Eclipse Update Manager for Eclipse Galileo 3.5. I have already installed oracle10g express edition and Appache tomcat 6.0 for web development.
    Now I have unlocked the hr user and following instruction from white paper to use OEPE
    http://www.oracle.com/technology/pub/articles/cioroianu-eclipse-jpa.html
    Now you can configure the database connection in Eclipse. Click Window > Show View > Other..., select Data Management > Data Source Explorer, and click OK. Right click Database Connections, click New, select Oracle Database Connection, enter the hr name for the connection, and click Next.
    Select Oracle Database 10g Driver Default, change the server name in the jdbc:oracle:thin:@localhost:1521:xe URL if necessary, enter the hr user name and its password, click Test Connection to verify that everything is correct, and click Finish
    But here when I tried to connect to the database, it give me error - Creating connection to New oracle database connection has encountered a problem
    Couldn't connect to New Oracle Database Connection.
    Error creating SQL Model Connection connection to New Oracle Database Connection.(Error: IO exception: The Network Adapter could not establish the connection)
    Io exception: The Network Adapter could not establish the connection
    Error creating SQL Model Connection connection to New Oracle Database Connection.(Error: IO exception: The Network Adapter could not establish the connection)
    Io exception: The Network Adapter could not establish the connection
    I know i am wrong some where, Please tell me where I am going wrong? Do I need to download and configure weblogic 10g first? Is this don't work with Apache tomcat server instead?
    Thanks
    Edited by: Jay Virk on 02-Oct-2009 04:36

  • 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

  • Backing up all data and objects of Oracle 10g Express Edition...

    Hi,
    I have tables, packages, views, procedures, etc. in Oracle 10g Express Edition, running on Windows XP. I would like to create a backup of the complete database (objects, relationships, all data, etc) into a file that I can restore in case the database crashes.
    What do I do?
    Thanks.

    markk2 wrote:
    I am actually using it for Production. Yes, I would need objects and data.I would suggest to look at the Standard Edition as well if you are using it for production.
    Is there a way to backup everything without data and then backup everything with data? Also, is there a way to restore everything without data and then restore everything with data?What's the meaning of "backup everything withiut data" and "then backup everything with data" ? The data is in the tables alone. The rest of the objects are not containing data but are using it, be it views, procedures etc. There is no such restore like without data. Without data, all what you would be getting would be structures of the tables which is going to be of no use. The export/import tool, is a simple tool which can put the tables (and other objects as well) along with their data in your dumpfile . In the situation of loss of a table, you can do an import from that dump file and you can restore the table back(with or without data, depends on the choice of yours while running Import command) . But this is just going to be a logical recovery of the object(s). For a complete database, it's better to use RMAN which would copy the datafiles and keep it with itself. Later, when you have a crash, you can restore those files to get teh database recovered. But if you want complete security, its better to put your db in the archive log and then do the backup along with the archive log files.
    HTH
    Aman....
    How to do this exactly? Thanks!

  • How to take a backup manually in oracle 11g express edition?

    how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .

    Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
    Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
    To find out what files need to be copied, as system (or sysdba) run:
    select name from v$datafile;
    ... file1, file2 ...
    show parameter control
    ... control_files ... file1 ...
    alter database backup controlfile to trace [reset logs];
    show parameter diag;
    ... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
    The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
    If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host.

  • How to connect to ORACLE 10g Express Edition using struts?

    HI! There
    I am using Oracle Jdeveloper as IDE, JBoss as application server, Oracle 10G Express edition as DBMS. As I am new to Struts & Jboss, so Can anybody tell me that How to connect to Database? Please also give Struts-config.xml datasource config too.
    If someone can give a set of codes to enter and retrieve the data to/from database it will be really help full for me. Well connectivity with any version e.g. 9i, 10g, 10g XE will do......
    Thanks

    Well I have already configure a datasource in struts-config.xml as Stated below:
    <data-sources>
    <data-source>
    <set-property property="autoCommit" value="false"/>
    <set-property property="description" value="Data Source Config. for SMS"/>
    <set-property property="driverClass" value="oracle.jdbc.OracleDriver"/>
    <set-property property="maxCount" value="4"/>
    <set-property property="minCount" value="2"/>
    <set-property property="password" value="password"/>
    <set-property property="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE"/> <set-property property="user" value="sms"/>
    </data-source>
    </data-sources>
    Now the Only problem That I am facing is how to look up this data source from a Java file of Model layer.
    Please Guide me further

  • 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

  • Creating Partitions in Oracle 10G Express Edition

    Can I create partitions in oracle 10g express edition?

    See yourself :
    http://download.oracle.com/docs/cd/B25329_01/doc/license.102/b25456/toc.htm#BABJIJCJ

  • 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

  • How can I uninstall Oracle 10g express edition(Western European).

    Hi
    I tried to install Oracle 10g express edition(Western European) in my laptop which is having windows vista home basic, but it was not installed properly so that I remove the related files in the program files, and i again tried to install Oracle 10g express edition(Universal) but it was not installed saying that already Oracle 10g express edition(Western European) edition was there and both Oracle 10g express edition(Western European) and Oracle 10g express edition(Universal) cannot co exist. can any help me regarding this one.........
    I need to install Oracle 10g express edition(Universal) now.

    Oracle XE can be uninstalled like other applications from Control Panel => Add/Remove Programs
    my laptop which is having windows vista home basicYour Vista version is not certified, as you can see in Oracle Certification Matrices ( Oracle Database is certified to run on the Business, Enterprise, and Ultimate editions of Microsoft Windows Vista ).

Maybe you are looking for

  • How do I add "gadgets" to my home page?

    iGoogle is to become unavailable. What I liked about it was that I could set up my home page with a number of "gadgets" of information that would appear on that page, such as current weather, time and date, S&P 500, CNN headlines, etc. How do I do th

  • What is better? 1xSSD+4xHDD vs. 2xSSD+2xHDD

    I'm thinking of buying a new workstation for Adobe Premiere (and sometimes After Effects). Considering my budget, I have two options to choose from: either to buy 2 x SSD + 2 x HDD or 1 x SDD + 4 x HDD. I've prepared two setups and I wonder which one

  • Finding What text was deleted in a Document

    How do I find out what text has been deleted in a document? the public void removeUpdate(DocumentEvent e) method is called when the document has already been updated, so the offset and length in the document event seem to be useless. The UndoableEdit

  • Expand/Collapse not working DataViewWebPart

    Hello, I'm having some difficulties with my DataViewWebPart page. The page shows the documents from a library. These documents are grouped by three collumns: - Klantnummer - InstallatieType - Map In SharePoint Designer i added these three collumns fo

  • Why do I now get a timed out message with Thunderbird

    T'bird worked fine until I update my AVAST