Create new oracle database

I ve installed Oracle 10g Express Edition on mi PC, but I dont know how to create a database, also I m using SQL DEVELOPER, but I dont find any "Create DataBase" option, or I have to do it through sql sentences??
Another question is : where can I get databases demo (like Northwin and Adventure Works in Sql Server)???
Joseph

You posted this in the wrong forum. This is the Oracle Application Express forum not the Oracle Database 10g Express Edition forum. Try posting in: Oracle Database Express Edition (XE)
Mike

Similar Messages

  • Create new oracle database with JAVA

    Hi!
    I would appreciated it if you could help me to solve a problem that i have.
    I am trying to create a new oracle database by a JAVA 1.4.2 application. I am using the scripts that Oracle 10.g supplies during the creation of a new database from the server (Generate Database Creation Scripts) with the appropriate changes, generated by a java application. Unfortunately, i am unable to connect with the database and the listener. Is there any other way to create a new database by java and how can i solve my current problem with the oracle scripts?
    Thank you.

    A) To create a new schema, you need to be connected as a user that has create schema privilege, or as tyhe user who is to own the schema (remembering that the user has appropriate create privs, as seen in the GRANT command in the SQL Reference manual). Not an issue at all, I think, if you coordinate this with your DBA. Discussed very well in the Administrator's manual.
    B) Alternately, you could create a complete copy of the schema, including all desired objects (tables, views, etc.) in a separate database and simply export the user and schema. Then simply invoke the OS-based import command (imp) to load that entire thing into the target database.
    C) To create a new database, there are 3 simple steps ...
    1) create the appropriate initialization parameter file
    the init{sid}.ora file should be placed in the $ORACLE_HOME/dbs or %ORACLE_HOME%\database directory. (I recommend you do not attempt to create the spfile.) Of critical interest will be setting the block size information, the control file parameters, and using the appropriate memory management parameters, based on the version of the software you will be using to create the database instance.
    2) start an empty instance, pointing to the parameter file
    This will be an OS specific call, and will require that you have the correct OS environment set up as well as access to the ORACLE_HOME which will provide the software that you will invoke. In *nix you will need to call the sqlplus command with sysdba provs and in Windows you will need to call oradim to initialize this as a service.
    3) run the SQL create database command
    You might want to use the dbca to create a template of the create database command, or look in the SQL Reference manual for the variations on the command. Of critical interest will be initializing the redo logs as well as the system, sysaux (if needed), temp and undo tablespaces after which you can set up the regular tablespaces, users and schemas. I highly recommend that you have redundant copies of the control files on separate drives.
    You may want to review the online Concepts manual and the Adminstration Guide for some of the specifics to your needs, but I think I've covered the basics.
    Remember that ideally you will only have one database instantiated on any given server as the memory and CPU overhead of each instance is significant.
    Good luck.

  • BUG: Oracle BPR Site Manager- Create New Oracle Database

    There is pop up while installing site manager which is blank when i try to create a new database for OBPA repository site manager. it pops up after choosing the password and the database folder. and as soon as i hit next button the pop up comes up which is blank ????
    any idea whats thjis pop up or error is all about ?
    Message was edited by:
    user623280
    Message was edited by:
    user623280

    Hi,
    i am not too sure if this will help you, but here is my guess.
    Before creating a database in BPA, you gotta execute a procedure (schema_aris_70.new_schema()) in the backend database, please check if you have done this.
    check out admininstration guide for more details.
    Regards
    Ashish

  • Creating New Oracle Database on Windows 2000 server

    These are the steps I am going to take. Are these correct?
    1.) Set the Environment Variable. Do you need to use Oradim or is "SET ORACLE_SID=EGWASDEV" OK?
    2.) Create a INIT.ORA file placed in a separate directory from EGOVDB.
    3.) Create DATABASE Script. (See Attached)
    4.) Create Tablespace Script. (See Attached)
    5.) svrmgr1
    6.) Connect Internal
    7.) startup nomount pfile="E:\oracle\admin\egwasdev\pfile\initegwasdb.ora"
    8.) Run CREATE DATABASE Script
    9.) Connect Internal
    10.) Run Tablespace script
    11.) Run E:\oracle\ora81\Rdbms\admin\catalog.sql
    12.) Run E:\oracle\ora81\Rdbms\admin\catproc.sql
    13.) Change Password for SYS
    14.) Change Password for System.
    15.) Modify Listener
    16.) Modify Tnsnames
    17.) Setup Dbstart (to automate)

    When I connect internal I get a TNS:protocol adapter error. If I reference the SID of the existing database then I will be logged into that database. I thought I shouldn't be connected to any database in order to.....
    startup nomount pfile="E:\oracle\admin\egwasdev\pfile\initegwasdb.ora"
    How should I connect and what do I do to avoid the TNS errror?

  • Create a new oracle database from OCI or OCCI client

    Hi,
    How can we create a new oracle database from OCI or OCCI client?
    i am using the oracle 11gR2
    Thanks in Advance,
    Sreekanth Polaka

    Though I have not tried creating a database, try if its doable.
    You can use OCI to perform SYSDBA operations.
    So connect as OCI_SYSDBA and try executing the entire create database command.

  • Creating A New Oracle Database And Sql Developer

    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AM

    user8948230 wrote:
    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AMIn addition to downloading and installing the database software to create a database, might I also suggest you start getting familiar with the documentation.
    Learning where to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com. Drill down to your product and version.
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are reference manuals. Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    After you have familiarized yourself with what is available, read the "2-Day DBA" manual to help get you started.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • How to create a oracle database by java code?

    how to create a oracle database by java code?
    please give some ways then that way's code

    I'm not sure what you mean with "database". Do you mean an Oracle instance or an Oracle user/schema (probably the latter, because that's the equivalent to a MS SQL Database).
    Creating an instance is definitely not possible from within Java. To create a new user this should be possible, as this can be done with SQL:
    GRANT connect,resource TO <newuser> IDENTIFIED BY <password>;
    I'm always cautious with questions like this. In 90% of the cases there is something wrong with the initial design. Creating a database shouldn't be something the application is doing.
    Thomas

  • How to create an Oracle DATABASE through Java Programming Language.. ?

    How to create an Oracle DATABASE through Java Programming Language.. ?

    Oracle database administrators tend to be control freaks, especially in financial institutions where security is paramount.
    In general, they will supply you with a database, but require you to supply all the DDL scripts to create tables, indexes, views etc.
    So a certain amount of manual installation will always be required.
    Typically you would supply the SQL scripts, and a detailled installation document too.
    regards,
    Owen

  • New Oracle Database 10g Collateral on Globalization Home Page

    Check out the new OTN Globalization Home Page which includes new Oracle Database 10g collateral.
    http://otn.oracle.com/tech/globalization/index.html

    I am installing Oracle 10.1.0.3 on RHEL4 but cannot manage to get installer screen loaded. I have made the necessary environment changes, applied patch 415257 to no avail.
    I get the error Exception: java.lang..UnsatisfiedLink Error: /tmp/OraInstall.. cannot open shared object file or directory occured. Implying file libXp.so.6 is missing.
    I downloaded Xfree86-libs-4.3.0.780EL.i386.rpm files to no avail.
    How can I get the Installer up and running? Are there any patches to apply?
    Moses Moya

  • Configuring New Oracle Database with HFM Shared Services

    Hi,
    We have upgrated the oracle database to new version 11g. We are using HFM 11.1.1.3 version. When I tried to configure the new oracle database with existing HFM Shared Services, the EPM Configurator hangs. Please could you clarify the below few questions before start configuring the database.
    1. Do we want edit any properties or configuration files before starting the EPM Configurator?
    2. If we want to edit the reg.properties file, what is the password denotes in reg.properties file(Below is the structure of the reg.properties file)? Whether I need to give Oracle database schema password?
    jdbc.url=jdbc\:hyperion\:oracle\://xxxxx;
    password=?
    jdbc.driver=hyperion.jdbc.oracle.OracleDriver
    local.value=####
    username=schemaname
    Thanks,
    Aravindh K

    Is it a new database server you are trying to configure? As if it was just upgraded then you shouldnt need to do anything.
    If it is a new database server then have a read of the following doc in Oracle Support - "How To Change Shared Services Database Repository in EPM 11 [ID 976279.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • What users are created during Oracle Database installation?

    By default, what users are created during Oracle Database installation?
    Thanks,
    Felipe

    Hi,
    All databases created by the Database Configuration Assistant (DBCA) include the SYS, SYSTEM, SYSMAN, and DBSNMP database accounts. In addition, Oracle provides several other administrative accounts. Before using these other accounts, you must unlock them and reset their passwords.
    Here you are:
    USERNAME
    MGMT_VIEW
    SYS
    SYSTEM
    DBSNMP
    SYSMAN
    SATYAM
    OUTLN
    MDSYS
    ORDSYS
    EXFSYS
    DMSYS
    USERNAME
    WMSYS
    CTXSYS
    ANONYMOUS
    XDB
    ORDPLUGINS
    SI_INFORMTN_SCHEMA
    OLAPSYS
    SCOTT
    TSMSYS
    BI
    PM
    USERNAME
    MDDATA
    IX
    SH
    DIP
    OE
    HR
    Regards,
    Satyam

  • Looking to use DG Broker to create new standby database

    Hello,
    I'm looking for a good document that can help me to create another standby database on a new server.
    I'm running Oracle 11.2 EE on Solaris 10.
    We already have one standby database, but now, I want to create another standby database on another server, which ultimately I will make primary and then replace and destroy our current primary/standby databases.
    Also, just for the heck of it, I tried to look in our DB Console, and the "Add standby database" is grey'd out.
    Is this because I am only using DB Console, and not Grid?
    But if that were the case, why would the option even be in DB Console, or perhaps is there a lmiitation to the number of standby databases you can manage with DB Console?

    1) Do not confuse Data Guard Broker and Enterprise Manager: DG Broker is mainly a background process (DMON) that can be controlled by EM or with DGMGRL on the command line
    2) Only the Grid Control flavor of EM can manage Data Guard Configurations - regardless of the number of Primary or Standby Databases
    3) DGMGRL cannot create a new Standby Database - Grid Control can
    Kind regards
    Uwe Hesse
    "Don't believe it, test it!"
    http://uhesse.com

  • How to create new 10gR2 database w/o AWR installed.

    Due to Partitioning licensing restrictions, I do not wish to create new databases with AWR installed but am not able to find a way to turn off EM AWR. Those WRH$_% tables are created as partitioned.
    As is logminer tables.
    Advice is appreciated.

    Due to Partitioning licensing restrictions, I do not
    wish to create new databases with AWR installed but
    am not able to find a way to turn off EM AWR. Those
    WRH$_% tables are created as partitioned.
    As is logminer tables.
    Advice is appreciated.internal use (by Oracle) of partitioning is license free. you have to license partitioning if you use it for your data.
    regards,
    -ap

  • How to create the oracle database for MDM

    Hello Friends,
    I am new to MDM technology. I have been asked to install MDM 5.5 on windows with oracle database.
    i have gone through the installation guides and master guide of MDM. But in the installation the procedure is not given to create the data base after oracle installation. i want to know do i need to create the database manually if yes then what should be the DBSID of the database and schema name etc.
    Please help.
    Thanks,
    Manoj

    Well, let's rock.
    <b>Oracle database creation</b>
    Use <b>Oracle Database Configuration Assistant</b> (Start -> Programs -> ...) to create a new database.
    The database naming (on Step 3) is up to you. I used MDM as for SID and MDM.<MYHOSTNAME>.<MYDOMAIN> as for the db name.
    Be sure you select UTF8 for the character set (on Step 12) - this requirement is mentioned in the SAP MDM Installation Guide.
    All other settings can go default.
    <b>Listener and TNS name configuration</b>
    The next step is to configure a listener and tns name for your database.
    Run the <b>Oracle Net Configuration Assistance</b> and select the "Listener configuration". Default settings on the wizard pages should suite your configuration.
    Click Finish.
    Run the <b>Oracle Net Configuration Assistance</b> again and select the "Local Service Name configuration". Add one. Choose the name of the database for the service name. It was MDM.<MYHOSTNAME>.<MYDOMAIN> for me.
    Ensure that you use name of the database that you've entered during the database creation.
    Everything else should go as suggested by default.
    Once you are at the Test stage of the wizard and get the "invalid login/password" message, clisk "Change login" and use SYSTEM user and the password you\ve entered during databae creation.
    After the test passes, you can connect to your Oracle database through the MDM Console.
    Please, let me know if you have any questions, I'll help.
    Thanks!

  • How to Use Sequence created in Oracle Database in SQL Ldr Control file

    Hi,
    I created a sequence in oracle database. How will use the sequence in SQL loader Control file.
    Thanks in advance

    Hi,
    You might get a good response to your post in the forum dedicated to data movement , including SQL*Loader . You can find it here Export/Import/SQL Loader & External Tables
    Regards,

Maybe you are looking for

  • Urgent !!!!!!! 1099 reporting

    Hello Experts, I am having a problem in 1099 Vendor reporting using the program "RFKQSU20". I was trying to get the list of taxable and non-taxable 1099 amounts by vendor. I was getting a report which has no data in that, even though I posted a vendo

  • Solaris 10 update 6 keeps generating core file (/core)

    I wonder if somebody has encountered the following issue. I did a fresh install of Solaris 10 update 6 on two servers (T5140 and T524) from DVD. I noticed that a core file was in the root filesystem (/core). So, I deleted it. As soon as I delete the

  • Webservice proxy with fds2

    Hello all, I am struggling with fds2 and currently fail to use a proxy for my webservice. Maybe I also misunderstand something, cause what I want to do is I want to use the fds/webservice as proxy to gather the calls and forward it to another webserv

  • Auto 2 sided printing

    How do i get back the auto 2 sided printing feature in my properties setting?

  • Elements and RAW

    I have a Elements 6 (I know I should update it, but that will come later).  Is there anyway I can upload RAW files to Elements 6? Thanks - Barry