Data Base Creation Script

Dear Friends,
I had installed oracle 9i using database configuration assitance for learning purpose. Installation was successful. Now, is it possible to view the database creation script of the above created database. If it is possible, kindly share the steps. Thanks in advance.

CHeck out the alert log of the created Database and you will find the scripts as commands in it.
Or go to ORACLE_HOME and search for demobld.sql
regard
Pravin

Similar Messages

  • Problem In Data Base Creation... Oracle 10g server in windows server 2008

    I have installed Oracle 10g server in windows server 2008 and the domain & active directory r created now i am trying to create the databse i am getting usual error (tns protocol adapter error ) in the 2% i have removed the domain and the active directory from windows then i created but this is not a solutions i need to create the data base in the domain server...

    this is a forms forum.
    please post in Database Installation

  • Data base creation

    hi,
    I am new with data bases in Java. I need to build a servlet that saves data in data base. I would like to use mySQL. I really don't know nothing about mySQL and JDBC, only that it is free and it uses SQL (which I knows).
    What should I know and have in order to make this? what jars and what servers should I find? where can I find an example of how to create a data base and use it?
    thanks, Naor.

    The JDBC tutorial....
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    The mysql site....
    http://dev.mysql.com/
    I suggest that the read the license carefully first.

  • Data base creation date

    Hi,
    on FSCM 91, Tools 8.49
    in which peopleSoft table can we see the database creation time ?
    Any kind of DB (Oracle, Sqlserver,DB2).
    Thanks.

    For SQL Server try
    select name, crdate from master..sysdatabases where name = 'YOURDBNAME'
    Edited by: RCC on Apr 4, 2013 9:53 AM
    Any data in the tables is going to be refreshed down from production, so if you want to use a table to store this info I recommend building it into your refresh process. Sometimes it's nice to create a table outside of the PeopleSoft database such as in a administration schema or consolidated admin database that you insert into each refresh, it's nice to have the history sometimes.

  • Oracle9i Data base creation "ASAP"

    I have installed the software only and not created database.
    When I try to login for creatin the database.
    I just logged in using the
    Z:\>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Jun 27 13:02:36 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect / as sysdba
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL>
    My database is under OS Authentication
    The OS user am logging in is ORA_DBA group.
    Can anybody help me doing this
    ASAP

    Hi,
    You could use the Database Configuration Assistant located at Configuration & Management Tools. If you want create "everything" from scratch yourself, I guess starting with creating a service (oradim) and password (orapwd) for the instance are amongst the first things you should do.
    Best of luck,
    -J.

  • How can we make a call to the Data base in the SAP Scripts?

    Hi All,
            How we make a call to the data base in scripts?
    I think we can use the PERFORM statement to achieve the above functionality.
    Pls correct me if i am wrong?
    Regards
    Abhilash.

    Hello.
    If you want to access database in the script itself (not in print program) yes, you can use PERFORM statement.
    In your script, use:
    /: PERFORM F_FORM IN PROGRAM ZRFIRFS05
    /: USING &VAR1&
    /: CHANGING &VAR2&
    /: ENDPERFORM
    Then, create a program ZPROG (ZRFIRFS05 in my case) with a structure like this one:
    REPORT ZRFIRFS05 .
    FORM f_form TABLES in_par STRUCTURE itcsy out_par STRUCTURE itcsy.
      DATA: l_data1(10).
      READ TABLE in_par WITH KEY name = 'VAR1'.
      CHECK sy-subrc = 0.
      l_data1 = in_par-value.
    *  SELECT .... "YOUR SELECT TO DATABASE
      READ TABLE out_par WITH KEY name = 'VAR2'.
      CHECK sy-subrc = 0.
      out_par-value = l_data3.
      MODIFY out_par INDEX sy-tabix.
    ENDFORM.
    Regards.
    Valter Oliveira.

  • How to solve that error in primavera p6 version 8.4 installation???????upgarding Data Base((missing permissions: DBMS_REPUTIL. Run the manual script first -- manual_script_before_upgrade.sql)

    please advice how to solve that problem (in steps):
    after completing p6 installation and during upgrading the old Data Base from p6 v8.3 to P6 v8.4 I'm facing that error
    ((missing permissions: DBMS_REPUTIL. Run the manual script first --> manual_script_before_upgrade.sql)

    for more help this image is much helpful
    1. Open cmd prompt >> Type sqlplus / as sysdba; >> connect sys/oracle@XE as sysdba;
    2. Type @ <path>\manual_script_before_install.sql
    thanks for      Pablo Oyarzo - Oracle    for his help as the above answer related to him

  • Creation of field in data base table

    Hi,
      I want to create a field in data base table , which holds the float values but i don't want to use the FLTP data type, why bcoz if i use this data type in selection screen of the table the the field is not appeqring, i dont want to go for the option QUAN bcoz there i need to define the ref table and ref field.
    please explain what is the way to create this field.
    regards
    Krishna

    Use NUMC
    Awrd POints if useful
    Bhupal

  • Transfer of xml file elements to data base columns

    hi all,
    i have to store xml file's data(element values) into the data base(table columns).
    i heard that we can acheive this by XSU.
    IS it is mediator between xml and db? if yes how to install it.
    i tried something as below
    with t as (
    select xmltype('<Message-Header>
    <Message-Id>1234</Message-Id>
    <Sender-Company-ID>4569</Sender-Company-ID>
    <Sender-Company-Name>abc company</Sender-Company-Nam
    <Sender-User-ID>AA</Sender-User-ID>
    <Recv-Company-ID>050</Recv-Company-ID>
    <Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
    <Creation-Time>20101019 15:59:39</Creation-Time>
    </Message-Header>') as xml from dual
    )but i am getting following error. can anybody explain about this
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (
      2  select xmltype('<Message-Header>
      3  <Message-Id>1234</Message-Id>
      4  <Sender-Company-ID>4569</Sender-Company-ID>
      5  <Sender-Company-Name>abc company</Sender-Company-Name>
      6  <Sender-User-ID>AA</Sender-User-ID>
      7  <Recv-Company-ID>050</Recv-Company-ID>
      8  <Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
      9  <Creation-Time>20101019 15:59:39</Creation-Time>
    10  </Message-Header>') as xml from dual
    11* )
    SQL> /
    with t as (
    ERROR at line 1:
    ORA-01041: internal error. hostdef extension doesn't existPlease help me..
    my db version is Oracle Database 10g Release 10.2.0.1.0 - Production

    Hi,
    What are you trying to achieve with a single WITH clause and no SELECT?
    Please see this from the documentation if you want to use it properly :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_10002.htm#i2077142
    Apart from its true purpose of subquery factoring, the WITH clause is often use here and there to simulate a table content, but you'll always need a SELECT.
    Maybe that's what you were trying to do?
    As for your question, starting with release 10.2, Oracle provides XMLTable to shred XML documents into relational structures.
    For example,
    with t as (
    select xmltype('<Message-Header>
    <Message-Id>1234</Message-Id>
    <Sender-Company-ID>4569</Sender-Company-ID>
    <Sender-Company-Name>abc company</Sender-Company-Name>
    <Sender-User-ID>AA</Sender-User-ID>
    <Recv-Company-ID>050</Recv-Company-ID>
    <Recv-Company-Name>XYZ pvt.ltd</Recv-Company-Name>
    <Creation-Time>20101019 15:59:39</Creation-Time>
    </Message-Header>') as xml from dual
    select x.*
    from t,
         XMLTable(
          '/Message-Header'
          passing t.xml
          columns
            message_id          number       path 'Message-Id',
            sender_company_id   number       path 'Sender-Company-ID',
            sender_company_name varchar2(30) path 'Sender-Company-Name',
            sender_user_id      varchar2(30) path 'Sender-User-ID',
            recv_company_id     varchar2(30) path 'Recv-Company-ID',
            recv_company_name   varchar2(30) path 'Recv-Company-Name',
            creation_time       varchar2(30) path 'Creation-Time'
         ) x
    ;If you're working in PL/SQL, and the XML resides in a variable, you can directly do (with necessary datatype conversion in the SELECT) :
    insert into your_table ( <your_columns_list> )
    select <your_columns_list>
    from XMLTable(
          '/Message-Header'
          passing your_xml_var
          columns
            message_id          number       path 'Message-Id',
            sender_company_id   number       path 'Sender-Company-ID',
            sender_company_name varchar2(30) path 'Sender-Company-Name',
            sender_user_id      varchar2(30) path 'Sender-User-ID',
            recv_company_id     varchar2(30) path 'Recv-Company-ID',
            recv_company_name   varchar2(30) path 'Recv-Company-Name',
            creation_time       varchar2(30) path 'Creation-Time'
         ) x
    ;

  • How to check the validation at data base level as well as current user ente

    Dear all
    i have creation page in that item code will not enter the duplicate values
    in that creation page contains advanced table
    user will click on create 15 blank records using add another row
    suppose in first row user will enter LAPTOP assume this item code
    in this case i need to raise exception through databse level
    in second row also user enter LAPTOP1 in this case exception will not raise becaause data is not there at databse
    in third row user will enter LAPTOP1 in this case item is not there in data base but it is there in second row in this case
    i need to raise exception
    how to achieve this
    Thanks in Advance
    Sreekanth

    You can validate this in form submission.
    1. Call a method in AMImpl.java
    2. loop the ViewObjects and check the values
    3. If you find a match, throw the error
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                   

  • Export Data Base

    Hi,
    I am taking Data base backup using Batch file and that file assign to Schedule.so every day automatically it is executing and saving to file. That batch file contains below script.
    exp pplus/computer@abcd file=e:\bkup\pplus.dmp grants=Y buffer=10000 log=e:\bkup\pplus.log.
    Every day replacing that file.But i want to take everyday backup in folder.So i am giving file=e:\bkup\pplus Concatenate(||) Date.how to concatenate filename with sysdate in Dos. any Command to concatenate sysdate with filename?

    try this, this will add date in MM-DD-YYYY format.
    @echo off
    exp pplus/computer@abcd file=e:\bkup\pplus%date:~4,2%-%date:~7,2%-%date:~10,4%.dmp grants=Y buffer=10000 log=e:\bkup\pplus.log
    rem echo %date:~4,2%-%date:~7,2%-%date:~10,4%
    echo.
    Sachin Chauhan

  • Data base

    Hi all : Issue is data base  Please attach see file , copy this file to desktop ,, then run create table  vi ,,, as you see its will save the data in access . Please see  I took the this example from national instrument example directory C:\Program Files\National Instruments\LabVIEW 8.5\examples\database  but I add some objects My problems are : 1-       Every one can insert to epos.mdb and do changes 2-       I want if I insert same number in  column 1 , massage appeared that say this number is in data base , and don't saved it , if this number doesn't exist then application will saved it   How can I do that?  thanks       
    Attachments:
    database.zip ‏239 KB

    the exemple just cover the creation of a table, but not the insert record.
    I do not have the database add on but I am using a database not connected yet to Labview.
    To answer your question you should first use create table with the database app(like access: simpler)
                    next find the function vi to (findRecord(like query)  and Numberof record  and insert record. 

  • Displaying images from MySQL data base

    I'm currently developing a Master/Detail
    page set. The MySQL table containing the Detail information includes a 'blob'  (MIME: image/jpeg  - Attributes - BINARY) for storing a small image. Under phpmyadmin the images show where applicable.
    In my Detail page I display the results in a table. All the values display except the image.
    I selected Insert > Image
    When the 'Select Image Source' dialogue appeared set 'select file name from' to Data source
    Selected the data base field from the established records set
    I left the 'Format' as 'None'
    Clicked OK
    Have I omitted to set something? How does Dreamweaver or the PHP code know hto to render this field?
    Hope someone can make some suggestions to resolve this.
    Thanks
    Cliff
    Other possible useful info:
    Developing on Windows XP
    Dreamweaver CS5
    all versions of MySQL, PHP, Apache, IE8, Dreamweaver up to date.

    In my desparation this morning
    I even tried to set up a mirror of your example witha separate table (just the 3 fields) and even that didn't work. The Proxy member was the same as yours except that the script was changed to LocalPHP.php . Therefore I presume that the error must have been in the webpage. Unfortunately I've since deleted the code so I can't send a copy of what I used.
    The only suggestions I could suggest that may help others that are novices are (1) suggested code for the webpage (2) a diagram illustrating how the elements link or relate to each other. Hope that is thought helpful.
    Thanks again
    Cliff

  • ASO Data base Size....

    When we normally right click on the ASO app folder in Windows and check properties of that folder then i am able to estimate what is the size of the database.That is how i used to know about my ASO databases.Although i am fine with what i am doing right now.Definitely i will go through dbag to understand ASO in detail.
    Need insight or methiods how to calculate ASO data base size ?

    What you are doing is correct and best practice in collecting the ASO cube size.
    To explain in detail.
    We can define the ASO cube size as the sum of otl file size and .dat file (resides in app/<appname>/default directory).
    .dat file stats, you can collect using below MaxL command.
    query database testaso.testdb list all file information;
    But if you are managing dim and balance files archives in the same database folder by this way we cannot estimate the incremental growth of the archives.
    I am good to define the ASO cube size as the .otl + .dat + .otl backups + archives (interface and lev0 files).
    If you track the incremental growth of all these files only, you can estimate the future disk space requirements.
    For this tracking the size of entire application folder is correct.
    You can write batch script to collect all this information
    In unix you can collect as
    +cs=du -g $appname | tail -1 | awk '{ print $1 }'+
    echo "size of $appname is: $cs. "

  • Data Base Interaction

    Hi
    i wolud like to interact with oracle database in atg so i created one ds file that is xml file after creation of ds file where i have to register that ds file in order to interact with data base in atg

    I believe you are referring to datasource xml. If you are on Weblogic you need to define the datasource from Weblogic console and it will create the corresponding xml in your domain's config/jdbc. If you are on JBoss you can create the datasource xml using an existing datasource xml which are already provided both in ATG and JBoss. Change the datasource name, driver, jdbc url and other parameters as per your setup and copy this datasource xml to your JBoss server's deploy directory. It will be loaded when you start that JBoss server. Then on ATG side, you will have to update /atg/dynamo/service/jdbc/JTDataSource component to provide it the same JNDI name that you specified in your datasource xml.

Maybe you are looking for

  • Can not login to OBIEE 11g

    Hi, I have installed OBIEE 11g last evening. I was able to connect to the dashboard and run a simple report also - all before shut down. Now when I try to access OBIEE 11g thru port :9704 after starting the BI services, I am getting the following err

  • IO Error when using p2v

    I'm using Ovm 3.2.2 p2v to convert a Windows 2008 machine. By the end of the download the conversion fails with: IOErrror [Errno 5] Input/output error This is part of the exception shown on on the physical machine been converted: Exception happened d

  • Lightroom Catalog Vanishes

    Today I was working in LR at the same time my wife was talking to me and wasn't paying attention. I regained consciousness at a LR back up dialogue box. I clicked skip and LR launched another catalogue. Since then I have been unable to locate the ori

  • How to get rid of blue bar at top when tethering?

    I would like to get rid of the blue bar at the top og my Iphone 4 when it is tethering its internet connection. What is interesting is my girlfriends iphone does not show this blue bar when tethering. Instead it shows a small icon in the top left nex

  • Importing/Parsing XML using SQL and/or PL/SQL

    What is the recomended way of importing/parsing XML data using SQL and/or PL/SQL? I have an XSD that defines the structure of the file, and an XML file that has the content in the appropriate structure. I have parsed (checked) the structure of the XM