Scema Creation in Oracle

Hi Experts,
I need to create an schema in an existing Oracle Database which has been installed for SAP Enterprise Portal.
Can you explain me how to accomplish this? Please explain step by step procedure.
Can any one tell me is this the right way for keeping application data in a Oracle Schema or I need to have an separate Oracle Installed for this?Please explain.
Thank you in advance.
Regards,
Karthick

Hi,
you don't need a separate Oracle database instance, though I would recommend to create one.
I would not mix own application and SAP schemas in one instance - think of side effects
on each of the components.
With DBCONNECT from the SAP site you can access this remote database.
For starting with Oracle I would follow their documentation:
http://www.oracle.com/technology/documentation/database.html
In general you create not a schema in Oracle but a user account.
Under this user account his/her objects (tables, indexes, views ...). are placed when you create them.
Bye
yk

Similar Messages

  • Error occured during creation of oracle snapshot

    Dear All,
    I am getting error messange in my SAP Inbox in t.code SBWP.
    In SBWP, the nessage text is as follow.
    =============================
    Error occured during creation of oracle snapshot (Creation aborted)
    (Log see also transaction SLG1, Object ORASNAP, Subobject ORASNAPCR)
    Oracle snapshot creation program aborted
    Error while copying from oracle view to SAP table
    Oracle view SAP$KCBFWAIT
    SAP table ORA_SAPKCBFWAIT
    Return code (ORA-....) 942
    You tried to work with the name of a table or view that does not exist in the database
    The table does not exist on the database. A table name or view name was used that does not exist on                           the database.
    ===============================
    I also check in T.Code SLG1, but i am not getting the reason for this error.
    Regards,
    Nisit

    Hi,
    Check each of the following :
    the spelling of the table or view name.
    that a view is not specified where a table is required.
    that an existing table or view name exists.
    Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
    Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
    Regards
    Krishna

  • Creation of Oracle managed objects - CF's and Destinations

    Hi,
    Is there a way to create Oracle CF's and Destinations apart from AQJmsFactory. What I am looking for is creating these objects through reflection which most of the JMS providers support. This allows using the Generic JMS RA in javabean mode to easily integrate with Oracle AQ. Please reply.
    Also if it is not possible when is Oracle going to change its API to be standardized as most of the JMS providers support?
    Cheers

    Your topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
    Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
    Do you have any insight to my problem?

  • Database creation in oracle 9i

    can any one tell me step of database creation in oracle 9i
    i try many times from 2 days through script because my DBCA is not open
    when i click it. DBCA created orcl during instalation but now
    it is not running. will i have to install it ?
    1)i add db_name=mukesh below db_name=orcl and run script but errors
    2)i crete initm.ora by copy init.ora and change db_name=orcl by db_name=mukesh
    in initm.ora but errors
    1)when i use init.ora without adding db_name=mukesh
    i also change undo_management by AUTO to manual i get
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> create database mukesh
    2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
    3 logfile
    4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
    5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
    6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
    create database mukesh
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01504: database name 'mukesh' does not match parameter db_name 'orcl'
    after that i add db_name=mukesh below db_name=orcl
    SQL> shutdown immediate;
    ORA-01507: database not mounted
    ORACLE instance shut down.
    SQL> startup pfile=D:\oracle\admin\orcl\pfile\init.ora nomount
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    SQL> create database mukesh
    2 datafile 'D:\oracle\oradata\mukesh\system01.dbf' size 325m
    3 logfile
    4 group 1 ('D:\oracle\oradata\mukesh\redo01.log') size 100m,
    5 group 2 ('D:\oracle\oradata\mukesh\redo02.log') size 100m,
    6 group 3 ('D:\oracle\oradata\mukesh\redo03.log') size 100m;
    create database mukesh
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: 'D:\oracle\oradata\orcl\CONTROL01.CTL'
    ORA-27038: skgfrcre: file exists
    OSD-04010: <create> option specified, file already exists

    Hi,
    If you getting a problem with DBCA go for manually process:-
    I had listed steps which I follow
    Step 1: Decide on Your Instance's System Identifier (SID)
    Step 2: Create the Initialization Parameter File
    Note:- Name the copied init.ora file init<SID>.ora because this is the default naming convention that the Oracle server looks for when it tries to start up the instance ORACLE_HOME/dbs directory (exists over the prefered path)
    Edit this file's parameters so that your database and your instance will run effectively on your system.
    DB_NAME Must be set to a text string of eight characters or less. During database creation, the value assigned to DB_NAME is recorded in the database's datafiles, redo log files, and control files. If, when you attempt to start the database instance, the value of DB_NAME as recorded in the initialization parameter file and the database name in the control files are not the same, the database will not start.
    DB_DOMAIN A text string that specifies the network domain where the database is created.
    CONTROL_FILES Is assigned the comma-separated list of control file names to use for the new database. When you execute the CREATE DATABASE statement, the control files listed as values assigned to this parameter are created. If you fail to specify a filename for the CONTROL_FILES parameter, Oracle creates a file with a default operating system dependant filename.
    DB_BLOCK_SIZE Specifies the standard block size of the database. This size is used in the creation of the system tablespace and by default in any other tablespaces created. Take care when determining what this value should be because after the database is created, the value cannot be changed.
    UNDO_MANAGEMENT Determines whether the database starts in automatic undo management mode. A value of AUTO enables automatic undo management; MANUAL enables manual undo management mode. In 9i, AUTO is suggested, but MANUAL is default.
    UNDO_TABLESPACE When the instance starts in automatic undo management mode, it needs to have a tablespace in which to store its undo information. The default is SYS_UNDOTBS and is automatically created if you execute a CREATE DATABASE statement with the UNDO_MANAGEMENT initialization parameter set to AUTO and no UNDO TABLESPACE statement in the CREATE DATABASE statement.
    Step 3: Connect to and Start the Instance
    Connect to the instance as SYSDBA either using operating system authentication or the password file method of authentication and start up the instance using the STARTUP command.
    sqlplus '/ as sysdba'
    If your parameter file is not in the default location or is not named init<SID>.ora, you may need to specify the PFILE clause in the STARTUP command for the instance to start.
    Because you do not yet have a database attached to the instance, you need to start up the instance in NOMOUNT state:
    startup nomount;
    The instance is now started and ready for the CREATE DATABASE command.
    Step 4: Issue the CREATE DATABASE Statement
    create database mydb1 controlfile reuse
    Logfile
    Group 1 ('/mydb1/log1/log01a.log',
    '/mydb2/mydb1/log01b.log') size 50M,
    Group 2 ('/mydb1/log1/log02a.log',
    '/mydb2/log1/log02b.log') size 50M,
    Group 3 ('/mydb1/log1/log03a.log',
    '/mydb2/mydb1/log03b.log') size 50M
    Datafile '/mydb1/mydb1_system.dbf' 250M
    AUTOEXTEND ON MAXSIZE 500M
    Undo tablespace mydb1_undo1
    Datafile '/mydb/mydb1/mydb1_undo1.dbf' 50M
    Default temporary tablespace mydb1temp tempfile
    '/mydb/mydb1/mydb1temp1.dbf' size 75M
    Extent management local
    Character set US7ASCII
    MAXLOGFILES 10
    MAXLOGMEMBERS 10
    MAXLOGHISTORY 1
    MAXDATAFILES 500;
    Thanks
    Pavan Kumar N

  • Static Tables Creation In oracle & Diff Between Static table ,Dynamic table

    Static Tables Creation In oracle & Diff Between Static table ,Dynamic table

    972471 wrote:
    Static Tables Creation In oracle & Diff Between Static table ,Dynamic tableAll tables in a well designed application should be static tables.
    Whilst it's possible to execute dynamic code and therefore create tables dynamically at run time, this is considered poor design and should be avoided in 99.99% of cases... though for some reason some people still think they need to do this, and it's never really justified.
    So what issue are you facing that you need to even bother considering dynamic tables?

  • Creation of Oracle model hanging MS SQL 7- 8.1.6

    Had a question answered yesterday which has got me almost there, for which thank you. Creating the Oracle model now maps almost all the objects in my SQL Server database (apart from a few roles, triggers and stored procedures), up to the point where the log window shows:
    [Timestamp] Mapping Roles mapped: 7, Roles NOT Mapped: 3
    [Timestamp] Mapping Mapping User Privileges
    [Timestamp] Mapping mapped user privilege :
    [Timestamp] Mapping mapped user privilege :
    [Timestamp] Mapping mapped user privilege :
    The process then hangs (it's been 21 hours now). Any ideas?
    Scott Doughty

    Your topic title, "Creation of Oracle model hanging MS SQL 7->8.1.6", caught my eye, but our situations aren't exact.
    Workbench is hanging on me during the Oracle Model creation when it gets to "Mapping tables". I also waited about 24 hours without any results.
    Do you have any insight to my problem?

  • Mass creation of Oracle HR Self Service Users (for access to all employees)

    Mass creation of Oracle HR Self Service Users (for access to all employees)
    Hi all,
    We have Oracle Human Resources 11.5.7 and recently implement Oracle HRMS (Self Service) for the purpose of Online Appraisal System.
    Is there any fast way to create all employees as users of the Self Service instead of creating the users manually one by one in HR?
    I would appreciate any feedback.
    Thanking you in advance.
    Best regards,
    Elena Demetriou
    Hellenic Bank

    Check pages 2-23 and following of the Deploying SSHR Capability V5.2 guide on Metalink. It describes the methods for Batch Creation of User Accounts.

  • Problem in DB Link creation of Oracle Wraehouse Builder 3i - Updated question

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository
    asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle )
    as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE
    ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :prashant
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    Cwm Error Message: Failed in the WBAPIFactory.createDBLink()
    Cwm Error: SQL Exception
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils
    Method Name: createDBLink(String, String, String, String)
    Method Name: -1
    Repository Error Message: java.sql.SQLException: ORA-02082: a loopback database link must have a connection qualifier
    ==================
    ==================
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected] or this OTN Network
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Sequence number creation in oracle 11gR2

    Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..

    862189 wrote:
    Hi.. i am using oracle 11.2 version. how can i create my sequence value starts from 1..i am currently getting 2..pls help me..I'm going to guess that you're seeing the side effects of deferred segment creation.
    This does get mentioned in the reference manual under "create sequence": http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_6015.htm
    If this is the case then creating the target table with the "segment creation immediate" should address your problem: http://download.oracle.com/docs/cd/E18283_01/server.112/e17118/statements_7002.htm#i2095331
    Regards
    Jonathan Lewis

  • DB creation in Oracle 10g XE for Windows

    Pls. help, I can't create a new db (CAFE). I already created the init.ora and the db creation script. But everytime I ran the said script in sql it displays this error:
    " Error at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-01504: database name 'CAFE' does not match parameter db_name 'XE'"
    Another thing is that, I can't find the default path of oracle, re: $ORACLE_HOME.

    People coming from other systems get confused with terminology,
    You might be happy using the XE database and simply creating a new schema. A LOT of people use the term database when they really mean schema.
    A schema is simply an Oracle database user that has the privileges to create database objects such as tables and views. An Oracle database can contain any number of schemas. A regular user is then given permission to access objects in the various schemas.

  • Datafile creation in Oracle

    Hi All,
    I am going to create a datafile in Oracle database by using this syntax.
    ALTER DATABASE
    CREATE DATAFILE 'c:\oracle\oradata\orabase\uwdata03.dbf' SIZE 1G
    AS 'UWDATA';
    Does the creation of the datafile will hamper the default datafiles of oracle?

    user11358816 wrote:
    Hi,
    I don't know abt.oracle much ,but i need to create datafile for creating a table space.
    So for that i need to create a datafile.No you don't that's not how it works.
    So for that I am asking about the syntax of it.
    ThanksThen the very first thing you'll want to learn is where to find the official documentation.
    It would be a good investment in your career to go to tahiti.oracle.com. Drill down to your product and version. There you will find the complete doc library.
    Notice the 'search' function at that site.
    You should 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. Learning where to look things up in the documentation is time well spent on your career.
    Do the same with the SQL Reference Manual.
    Then set yourself a plan to dig deeper.
    - Read the 2-Day DBA Manual
    - 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, then bounce what you see there in the network administrators manual.
    - Read the concepts manual again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • Database creation in oracle 8.0.4

    Hi,
    I'm creating a database in Oracle 8.0.4. I choose the custom option to give all the parameters. One of these parameters is the password of internal user. I give it as oracle. After giving all the other parameters and then click on finish to create the database, i get ORA-01017 error and i'm being forced to abort the database creation.
    After this error has occured, i've created another two databases with a different names and all went fine. I didnt have any problems while creating the databases. Again after the creation of the new databases, i tried to create the old database. Even then i got the same error.
    can anyone let me know what might be the reason for this and the solution to overcome this problem.
    Thanks in advance,
    Jaikanth V Garlapati.

    Found this in Oracle Doc,
    NLS_DATABASE_PARAMETERS is the one you set when you do Create Database.
    NLS_INSTANCE_PARAMETERS is the one you set in your spfile when you start instance.
    So if you didn't set NLS_INSTANCE_PARAMETERS in spfile, then instance will start with NLS_DATABASE_PARAMETERS
    And alter session will over write them all.
    It's not new behavior in 10.2.0.4
    ==============================================
    NLS Database Parameters
    When a new database is created during the execution of the CREATE DATABASE statement, the NLS-related database configuration is established. The current NLS instance parameters are stored in the data dictionary along with the database and national character sets. The NLS instance parameters are read from the initialization parameter file at instance startup.
    You can find the values for NLS parameters by using:
    NLS Data Dictionary Views
    NLS Dynamic Performance Views
    OCINlsGetInfo() Function
    NLS Data Dictionary Views
    Applications can check the session, instance, and database NLS parameters by querying the following data dictionary views:
    NLS_SESSION_PARAMETERS shows the NLS parameters and their values for the session that is querying the view. It does not show information about the character set.
    NLS_INSTANCE_PARAMETERS shows the current NLS instance parameters that have been explicitly set and the values of the NLS instance parameters.
    NLS_DATABASE_PARAMETERS shows the values of the NLS parameters for the database. The values are stored in the database.

  • Programmatic creation of Oracle 10gAS Release 2 general mod_plsql DADs

    Hi Everyone,
    We use Oracle Application Server 10gAS version 10.1.2.3.0 and as part of our setup we create and use General type DADs. (Created within Enterprise Manager, under HTTP Server --> Administration tab --> PL/SQL Properties --> DADs.
    My question is does anyone know if it is possible to programmatically create General type DADs via a UNIX or DOS shell? We have numerous DADs to configure and maintain and being able to set this up so that it is scripted would be much easier.
    We know that the enterprise manager updates the apache conf dads.conf file as part of the DAD creation but not sure if it is possible or safe to manually edit this file.
    Any advice will be really helpful.
    Cheers,
    Leigh.

    Sorry - I probably should have checked Oracle Support earlier but all the information I need is contained in the dads.README and dadTool.README files contained under the <ORACLE_MID_TIER_HOME>\Apache\modplsql\conf

  • Database creation failed Oracle 10g x64

    Hello,
    Trying to install Oracle 10.2.0.1.0 (x64) on Windows Server 2003 SP2 (x64).
    Towards end of installation, it fails at Database creation stage, stopping at 2%.
    Anyone can give any clue on why it happens ???
    Appreciate your help..

    Thank you for your inputs..
    I have tried to run DBCA , but again it fails at 2% (when database files being copied)
    I have also installed 10g Release 2 (10.2.0.4) Patch Set 3 for MS Windows x64
    also downloaded and installed latest Java
    Still when trying to create databse, it fails at the stage of copying database files.
    Thanks to share if anyone have any clue..

  • Relation between Key Template and Study creation in Oracle Clinical 5.0.1

    Hi
    In oracle clinical 5.0.1 , Is there any relation between Key template in GLib and Study creation (Design-Studies-Easy Study Design).

    Yes, there's a known problem, not with german language, but with territory Switzerland, see on metalink:
    ORA-604 / ORA-02248 WITH NLS_LANG SET TO TERRITORY SWITZERLAND
    Doc ID: 334481.1
    ORA-02248 is only the last error, you have others:
    StepErrorHandler.setFatalErrors:322 setting Fatal Error: ORA-01092
    Thread-3 12:33:59:88 StepErrorHandler.setFatalErrors:322 setting Fatal Error: ORA-01034
    Thread-3 12:33:59:88 StepErrorHandler.setFatalErrors:322 setting Fatal Error: ORA-03114
    Thread-3 12:33:59:88 StepErrorHandler.setFatalErrors:322 setting Fatal Error: ORA-12560
    Thread-3 12:33:59:88 StepErrorHandler.setIgnorableErrors:250 setting Ignorable Error: ORA-01109
    Not sure whether this related to the same problem. As a workaround you may change the territory, for example to GERMANY. If that works you hit the bug mentioned in the metalink not. Normally NLS_LANG is set in the registry.
    Werner

Maybe you are looking for

  • Error reading when trying to download ipod mini update

    I am trying to download an update for my mini. the following message comes up "error reading setup initialization file" Can anyone help me understand what this means? My ipod mini has been "playing up" the battery doesn't seem to last very long, shut

  • Print report parameters and report contents in separate pages.

    Hi , I Have a report with more than 10 parameters and while printing i am supposed to print all the parameters in the first page and then the report contents in a separate page(next). This is an old report developed by some one else. i need to change

  • Messages stuck at Adapter engine

    Hi everyone, My messages are getting stuck at the Adapter engine level and shows the status as "Holding". But the step at Integration engine seems to work fine. How could i get rid of these messages, before I run another couple of messages. Also what

  • How big of a file can your ipod hold?

    Me and my friends are working on a story. And ive beent he only one working on it lately. I want to show it to my friends so i decided to put it on my ipod. (printer broke) so i save the word document as a text document and i put it into my ipod. hey

  • Can't highlight text in blue to edit

    My Pages has just started doing this recently. When I go to highlight text it only highlights in gray and not the usual blue. And of course it will not let me edit. Has any one seen this or have any idea what is causing this? I have an iMac running 1