How to create an instance of the database

No that won't work. I have to set it up independant from each other because I can't get to Uni until Monday and I want to have this done over the weekend really.
The main issue seems to be now how to create an instance of the database

To create a database:
you first connect as internal (user) with the passeword 'oracle'
the syntax is: connect internal/oracle
You type in this script:
STARTUP NOMOUNT PFILE=$PFILE
CREATE DATABASE db01
LOGFILE
GROUP 1 ('c/oracle/oradata/db01/redo_01a.log',
'c/oracle/oradata/db01/redo_01b.log'
) size 100k,
GROUP 2 ('c/oracle/oradata/db01/redo_02a.log',
'c/oracle/oradata/db01/redo_02b.log'
) size 100k
MAXLOGFILES 32
MAXLOGMEMBERS 2
MAXLOGHISTORY 1
DATAFILE 'c/oracle/oradata/db01/system01.dbf'
size 7M
MAXDATAFILES 254
MAXINSTANCES 1;
This script could be modified to reflect the features you want for your database.
db01 = the name you can give to your database
Good luck,
Henri

Similar Messages

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

  • How to create a instance for the method

    it is showing me dump error for the call method
    data: i_tab type /SCMB/DM_ORDER_TAB,
          grid1  TYPE REF TO /SCA/CL_SVORDER .
    CALL METHOD grid1->READ_BY_IDS
      EXPORTING
       IS_CTRL      =
        IV_ORTYPE    = gt_po_detl-ortype
       IV_LOCKFLG   = /SCMB/CL_C_ORDER=>GC_FALSE
       IV_NOADDRESS = /SCMB/CL_C_ORDER=>GC_FALSE
       IV_MAPID     = /SCMB/CL_C_ORDER=>GC_FALSE
       IV_DUEQUAN   = /SCMB/CL_C_ORDER=>GC_FALSE
        IT_ORDERID   = itab_orderid
      IMPORTING
        ET_ORDERS    = i_tab
       ET_PROT      =
    u r attempting to use a null object reference access a component (variable 'GRID!")
    an object reference must point to an object (an instance of  a class ) before it can be used to acess a component either the reference was never set or it was set to null using the clear statement

    sridhar loganathan,
    A ABAP Class is just a definition of fields/variables called attributes and routines (like in standard ABAP forms and functions) called methods. Also you can have events, don't care about before necessary.
    The definition itself is just a blueprint. Nothing exists, nothing can be used before you create an instance for this definition.
    DATA: grid1 TYPE REF TO /SCA/CL_SVORDER creates a 'handler' for ( to be created) instances of the class.
    The statement CREATE OBJECT grid1 creates an instance of the class as defined in the 'blueprint' and assigns the reference to this instance (with all methods, attributes and events) to reference field grid1.
    In 999 of 1000 cases SAP creates just one object of a class. In those cases the definition of classes and uses of object oriented programming is more or less obsolete.
    Anyway: Just keep in mind that you can not uses attributes and methods of the class directly (blueprint!) but only of the instance created.
    An Exception to be noted are so-called Static attributes and methods where an instance is not required. Example ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB gives the character for horizontal tab regardless of platform and char encoding (unicode!). Class ABAP_CHAR_UTILITIES defines static attribute HORIZONTAL_TAB - no instances necessary because this will never change in a given system.
    Hope this sheds some light on it
    Regards,
    Clemens

  • How to create new instance of the process from external web apps?

    Hi Everyone,
    How to create a new instance of the process which deploy to the weblogic server from the external web app?
    Thank you.

    Assuming the process includes a message start event, the simplest way is to use Web Service call. Once you've deployed the process you can use Enterprise Manager to get the URL of the WSDL. There's and icon at the top of the composite summary page for getting the WSDL, or you can get it from the test page. Use that WSDL URL to construct the client to use from the web app. If it's an ADF client you can generate either an ADF Data Control or a client proxy.

  • How to create command file for the Database Project?

    Hi All,
    We are using Oracle 10G.
    We are using Database Project in Visual Studio.NET to source control the SQL Scripts of SPs and Tables.
    Now, while creating commad file, it asks me select all the files to be included. thats fine. But after creation, if I open and see...It starts like....
    osql...test1.sql.
    osql...test2.sql
    but, osql is commad of SQL Server not of Oracle...if am not wrong..!
    Is there any settings that can help me create command file that works on Oracle?
    Thanks and Regards
    Senthil

    File>Print
    Choose Adobe PDF as your printer
    Go to Setup
    Go to preferences
    Choose the standard
    Make sure the rest of your settings are correct for the page size etc.
    It's a big screenshot so I've linked instead of posting here.
    Sorry had to blur out some PDF settings for privacy reasons
    http://img339.imageshack.us/img339/6103/37345539.png

  • How to create many user in the same database

    hi
    my question is "How to create many user in the same database(application)?"
    for example, i have students, teachers, and staffs user using my application.
    i can create many users to use the same application right?, how ^^''' ???
    (right now i can only create application and then it shows every data in my DB
    but i want it to show only the data for the user who login to that application)
    Thanks.
    ps. i'm newbie, please help T^T

    You need to create a user table within your application that maintains their privileges. If you have LDAP you could use this for authorisation otherwise the table would handle that as well (store passwords etc). Your reports etc would then be filtered on information from this table.
    Check out some of the sample applications to see how authorisation and access is implemented (Online store is one). The how-to on the issue tracking system should also have some useful pointers.
    http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/issue_track.htm#BABBGBJG
    cheers,
    Ron

  • How to create an instance of a protected class outside the enclosing packag

    Hi all,
    I have a piece of code like this:
    package test;
    public class A {
    protected class B { }
    How to create an instance of B outside the package test ? Could you please give me an example ?
    Thanks
    Ha Chau

    Thank WirajR for your reply, but in your solution,
    you have to create an instance of B inside class A
    and pass it outside. I would like to know whetherwe
    can create an instance of class B outside thepackage
    test. That means I want the instance creation
    expression of B appears outside the package test.Can
    we do that?
    If you want to use a class this way then it shouldn't
    be marked protected. I can't see why you don't
    just declare it public if that's what it is.
    Wouldn't be much point to haveing a protected
    modifier if it had no effect, would there?I think there is use for it if you use an interface to filter out the parts you want to give public access to, and keep the part you want to keep protected, protected

  • Unable to create an instance of the Java Virtual Machine

    I hope someone can help me to encounter this problem. Well, I have read the instruction over and over on how to setup SQL Developer. 
    The version i have installed Oracle Database 11g Express Edition and downloaded sqldeveloper-4.0.0.13.80-no-jre and the jdk version 1.7.0_45. Problem is when setup oracle sql developer, pop-up screen highlight on
    Unable to create an instance of the Java Virtual Machine
    Located at path : C:\Program Files/Java/jdk1.7.0_45\jre\bin\client\jvm.dlll.
    I have select the path earlier stage and direct to the C:\Program Files/Java/jdk1.7.0_45 ONLY FOLDER. It turns out to this error.
    At the cmd screen error message as below :
    Error occurred during initialization of VM
    Could Not reserve enough space for object heap
    Anyone do give me advise on how to solve this issue. Thank's alot.

    What I did was:
    Use
    Windows Explorer to browse to C:\Users\user\AppData\Roaming\sqldeveloper\1.0.0.0.0Open
    product.conf with wordpad
    Go
    to the bottom of the file
    Uncomment
    the 32 bit entry and change it to:Add32VMOption -Xmx512m

  • How to create an instance of midlet with in a midlet

    Hi all,
    I have 5 midlets in the same project (midlet suite). I need one of the midlets (login midlet) to start and when login is verified i want to display list of the remaining midlets which can be launched as per user's chioce.
    My query is, how can i create an instance of the other midlet within the login midlet after login is verified.
    Any response is highly appreciated.
    Birhanu

    You can't do that! You don;t need all those midlets anyway if you only have one application. You'll just have to put the needed code in a non Midlet class.

  • How to create an object within the same class???

    hi im just a newbie
    i v been always creating an object from the main class..
    but how to create an object inside the same class??
    i got main and students class
    the main got an array
    Students[] stu = new Students[]
    and i got
    stu[i] = new Students(id,name);
    i++;
    but i wanna do these things inside the Students class..
    i tried ..but i got errors.....
    how to do this
    .

    javaexpert, :)
    I really have no idea what you are trying to do since you say you've always been creating an object from the main class, yet you always want to create an object inside the same class.
    I'll assume that you have an object in the main class that you are trying to access from the Students class.
    If you are trying to access objects that are contained within the main class FROM the Students class, then know that there are two ways of doing so, one being static, and the other dynamic (look up definitions if unclear):
    1.) make the objects in the main class both static and public and access the the objects using a convention similiar to: Main.object; It's important to note that Main is the name of your main class, and object is a static object. There are better ways of doing this by using gettter/setter methods, but I'll omit that tutorial.
    2.) Create a new instance of the main class and access the objects using a similiar fashion: Main myInstance = new Main(); myInstance.myObject;
    You should really use getter and setter methods but I'll omit the code. In terms of which approach is better, step one is by far.
    I don't mean to be condecending, but you should really brush up on your programming skills before posting to this forum. This is a fundamenetal concept that you will encounter time and time again.

  • How to create an instance for RemoteSession without using create() method

    How to create an instance for RemoteSession without using create() method?

    What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?

  • How to create an instance of a class?

    how do you create sn instance of a class, and how do you call a method from another class?

    You may need to read thru the information provided on this page to understand how to create objects: http://java.sun.com/docs/books/tutorial/java/data/objectcreation.html
    I'd also suggest you read the tutorial available at: http://java.sun.com/docs/books/tutorial/java/index.html
    Regarding how you call a method belonging to another class you could do it in the foll. ways depending on whether the method is static or not - a static method may be called using the class name followed by a dot and the static method name while a non-static method would require you to create an instance of the class and then use that instance name followed by a dot and the method name. All said and done i'd still suggest you read thru the complete Java programming tutorial to get a good grounding on all these concepts and fundamentals of the language if you are looking to master the technology.
    Thanks
    John Morrison

  • Create multiple instance in a database

    is it possible to create multiple instance in a database.if possible then is it possible to activate many instance at a time.(in personal edition)

    Instance in Oracle refers to the Oracle database "engine" - a collection of processes using a shared memory area, accessing a physical Oracle database.
    Multiple instances are possible on the same platform for different physical databases. But not a Good Idea..
    Multiple instances on different platforms are for the same physical database using Oracle Real Application Clusters, aka Oracle RAC.
    Thus your question does not make a lot of sense. My guess is that you are in fact refering to an Oracle session instead as this is "in the database" as you refered to.
    Each client that connect to Oracle, creates/establishes an Oracle session. A single client uses one (usually the default) or more sessions (usually used by a multi-threading client).
    By default, the Oracle Instance supports multiple Oracle (client) sessions. Including Personal Oracle. In the past, Personal Oracle limited (via the Listener) the number of remote clients (i.e. clients on other platforms) that can connect. I would assume that this is still the case. I however do not recall that there were a limit imposed on the number of local sessions that could be created - the limiting factor here is afterall the power and resources available by the PC. It's very unlikely that a common PC will be able to support a Personal Edition Oracle instance and 100's of local client sessions at the same time.
    If you do mean instance as per the strict Oracle definition - why would you want to create two Oracle instances (each with its own physical database) on a PC? That does not make sense on a large db server platform. It makes even less sense on a small PC platform.
    Each Oracle instance has overheads (processing and memory). Each physical Oracle database has overheads (system space, temp space, redo, logs, etc). Why duplicate these overheads?
    On a single platform - what can two Oracle instances (less capable because of reduced resources availability) do what a single Oracle instance cannot do faster and better and more effectively? Thus is it not a Good Idea to run multiple instances on a single platform. (exceptions acknowledged)

  • How to change a connection with the database in Runtime?

    How to change a connection with the database in Runtime?
    My connection was made using ADF Business component (ApplicationModule).
    ADF Swing.
    JDeveloper Studio 11.1.1.4.0.

    When deploying ADF applications with database connection, you should be using JDBC data sources configured in the weblogic server.
    You could change the JDBC data sources to a different DB instance or location - by changing the JDBC data source and restarting the weblogic server.
    For more details, check
    http://techiecook.wordpress.com/2010/12/02/oracle-weblogic-adf-datasources/
    Thanks,
    Navaneeth

  • How to create a directary on the WindowsXP OS?

    How to create a directary on the WindowsXP OS?

    Hi,
    Not sure what you are exactly trying to create - is it a directory at the OS level or a database object called DIRECTORY at the database level. Anyways, I will attempt to answer both:
    c:\temp> mkdir test_dir
    and then;
    SQL> create directory TEST_DIR as 'c:\temp\test_dir';
    Directory created.
    SQL>
    HTH
    Thanks
    Chandra Pabba

Maybe you are looking for