Oracle 10g Express Service not starting Database

I have a fresh download and install or Oracle 10gExpress and am having issues when I manually start the OracleXE service. The OracleXE Service starts, but the database does not. The error I see is ora-12560.
The database and service stops correctly if I manually stopthe OracleXE service. The start of the service just won't start the database.
The oradim.log contains
Thu Oct 15 11:51:30 2009
C:\oraclexe\app\oracle\product\10.2.0\server\bin\oradim.exe -startup -sid xe -usrpwd * -log oradim.log -nocheck 0
Thu Oct 15 11:51:31 2009
ORA-12560: TNS:protocol adapter error
New Information:
What I just found out was that it all works fine if the install of Oracle 10g Express is done prior to joining the Server to a domain. If the install is done after the server is part of a domain, the service will not start the database. If the install is done prior to putting the Server in a domain, the service will start the database.
Any help why this must be installed prior to adding the server to the domain?
Edited by: user10279386 on Oct 15, 2009 9:24 AM

Hi!
I think that installation must be done with Domain user who is Administrator on this machine also. Check ORA_DBA group that consist of at least two users: SYSTEM (who by default brings up the service, but you can change it) and your domain user (local Administrator on that server) who is making installation of XE on that server.
Hope this helps,
Damir

Similar Messages

  • Oracle and Instance Service Not Starting After Win2K Service Pack 4 Install

    Please help
    We are running Oracle 8.1.6 on Windows 2000 Server and everything ran fine. Our Network Admin installed Windows service pack 4 and now after a reboot we have to manually go in and start Oracle because it does not start automaticially.
    I've looked everywhere and cannot find any documented resolution to this problem.
    Regards,
    Andy

    If you completely patched your server then it might be related to the problems some of us are experiencing with a certain MS patch. Check this thread for more details:
    ORACLE NOT AVAILABLE..ORA 01034

  • Oracle 10G Express:Unable To open DataBase Home Page

    I am not able to open Database Home page.
    http://127.0.0.1:8040/apex
    I verified the below steps:
    1.OracleListener and Service are starting up fine.
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener
    The OracleXETNSListener service is starting.
    The OracleXETNSListener service was started successfully.
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleServiceXE
    The OracleServiceXE service is starting.......
    The OracleServiceXE service was started successfully.
    2. netsat output - local host listening to port 8040
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>netstat -an | find "8040"
    TCP 127.0.0.1:8040 0.0.0.0:0 LISTENING
    3. Http port in database
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Aug 20 18:11:13 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select dbms_xdb.gethttpport() from dual;
    DBMS_XDB.GETHTTPPORT()
    8040
    SQL>
    4. Disabled Personal Firewall before starting the Service and Listener
    5. listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 8040))
    DEFAULT_SERVICE_LISTENER = (XE)
    CONNECT_TIMEOUT_LISTENER=10
    6.tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 8040))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    7. Listener log when i try to open the database home page.
    Started with pid=180
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8040)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    20-AUG-2006 17:28:23 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    20-AUG-2006 17:30:34 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    Can someone help me how to get to the home page.

    What does your lsnrctl status give you?

  • [Debian] Oracle 10g Express - init.d start/stop script problem + fix

    I've experienced a problem with the init.d script "oracle xe" which is used to start/stop/reload the 10g server and comes with the debian package from oss.oracle.com.
    I noticed that after installing Oracle 10g in the "Debian" way (via .deb package and an apt-source oss.oracle.com), the start and stop method of the script doesn't do anything.
    It's checking for the value of the "ORACLE_DBENABLED" variable, which is on my installation set to "false", because I answered during installation false to the question "do you want to start Oracle 10g at system boot?".
    In my opinion that's wrong. I should always be able to start/stop the Oracle server trough the init.d script regardless of your choice starting Oracle at boot or not.
    I commented out row 604 and 621 in the file "/etc/init.d/oracle-xe" :
    case "$1" in
      start)
            if test -f "$CONFIGURATION"
            then
                    if test "$ORACLE_DBENABLED" != "true"
                    then
                            echo "exit"
    #                       exit 0
                    fi
            else
            echo "Oracle Database 10g Express Edition is not configured.  You must
                    exit 0
            fi
            start
      configure)
            configure
      stop)
            if test -f "$CONFIGURATION"
            then
                    if test "$ORACLE_DBENABLED" != "true"
                    then
                            echo "exit"
    #                       exit 0
                    fi
            else
            echo "Oracle Database 10g Express Edition is not configured.  You must
                    exit 0
            fi
            stop
            ;;

    Hello,
    I have the same problem on RH9.
    [root@phpsrv init.d]# ./oracle-xe start
    Starting Oracle Net Listener.
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
    Starting Oracle Database 10g Express Edition Instance.
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
    Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
    Regards,
    Pavel Kucera

  • Oracle 10G R2 AS: Not starting up; please help

    i got a server with oracle 10g app server installed on it. i opened the console at http://localhost:1811/emd/console and created a new OC4J instance but did not deploy the EAR file. When i tried to open the console the next day the page did not open. actually the server did not start at the startup. i tried to start the server from the Services but it did not start. please help me to rectify the problem.

    If your application server is in windows,then open command promt. and then type cd $ORACLE_HOME\bin
    and then emctl.bat start iasconsole
    If your application server is in unix/linux,then open console. and then type cd $ORACLE_HOME/bin
    and then emctl start iasconsole
    It will start your OEM. then through ur OEM u can monitor ur server configuration.

  • My Oracle 10g XE does not start anymore on Win XP

    Hello,
    I have a problem I do not understand at all. I've successfully installed Oracle10g XE on my Win XP SP2 about one year ago and every works well.
    The last time (6 months ago) I've started my default XE, it works well.
    Today, it does not works anymore ! My Windows service called "OracleServiceXE" does not start anymore. I have an error 1053.
    So I try to start manually my DB using sqlplus :
    sqlplus /nolog
    connect / AS SYSDBA=> I obtains ORA-12560
    The listener service starts well and seems to be OK.
    I tried to set ORACLE_HOME and ORACLE_SID without success.
    I checked my sqlnet.ora, tnsname.ora. Everything seems to be OK.
    I stopped my antivirus software, stopped my firewall.
    I checked I am still in the Adminstrator Group.
    Finally, I tried to reinstall Oracle 10g XE and it does not work anymore either ! The XE instance creation failed
    DIM-00019: service creation error
    O/S-Error: (OS 1053)
    Now, I am lost.
    Does anybody have any suggestion to solve my problem ?
    Many thanks by advance for any help you could give.
    Regards
    Cedric

    Yes, I think so.
    But what ? Many things change in 6 months (Windows fixes, software fixes, RAM upgrade, screen change ...)
    And the logs I found in oracle cannot help me to have an idea.
    Only listener.log, css.log and sqlnet.log have changed.
    I have found the following error in sqlnet.log :
    Fatal NI connect error 12560, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleXE)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=XE)(CID=(PROGRAM=E:\Langage\oraclexe\app\oracle\product\10.2.0\server\BIN\oradim.exe)(HOST=PHOENIX)(USER=gerardce))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 09-FÉVR.-2008 09:28:04
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS : erreur d'adaptateur de protocole
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Erreur d'adaptateur de protocole
    nt secondary err code: 2
    nt OS err code: 0
    I really don't knwo where to start. And I would like to be sure to save my data (via export or something like that).
    Is it possible to have more trace somewhere that can help me ?
    Regards,
    Cedric

  • Oracle Management Server Service not starting

    OS: windows 2000 Server
    Ora version: 8.1.7
    I have checked all the services are started and database is up but when i am trying to start OMS service "oemctrl start oms" its giving the message..
    ... service could not be started
    ... the service did not return an error.
    please tell me whats the solution.

    I have this problem too. (posted a separate thread on
    this before I read this one, sorry).
    Here is my oms.nohup:
    E:\oracle\ora81\sysman\log>tail -f oms.nohup
    [main][2003-10-9:18:7:57:599] ORA-01017: invalid
    username/password; logon denie
    d
    : ..../....@jdbc:oracle:oci8:@exorabsp
    [main][2003-10-9:18:7:57:599]
    VdbSession.processError: invalid connect string
    VXA-2018 :
    Anmeldung bei OMS-Registrierungsdienst nicht m�glich
    oracle.sysman.vxn.VxnBootstrapException:
    at
    at
    at
    t
    oracle.sysman.vxa.VxaAppServer.startServices(VxaAppSer
    er.java:1353)
    at
    at
    at
    t
    oracle.sysman.vxa.VxaAppServer.main(VxaAppServer.java:
    547)
    Fehler beim Hochfahren von Oracle Management Server.
    Somehow, by reading the responses here - created new repository - I managed to get OMS working again.

  • Oracle 10g listener control not started

    Hi all
    my listener control not started. please help me.
    C:\Documents and Settings\raihan>lsnrctl
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 12-SEP-2007 13:28
    :11
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Failed to start service, error 1058.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    thanx in advance.

    Issue lsnrctl start and report results. If problem persists, change the localhost reference in HOST= to whatever your actual hostname is.
    ~ Madrid

  • I need OrderEntry schema SQL file for Oracle 10g Express

    It seems Oracle 10g Express does not come with oe schema.
    I do not want to download another Oracle.

    I think its doable:
    1) http://www.oracle.com/technology/obe/obe1013jdev/common/OBEConnection.htm
    Download the sample_schema_scripts9i10g.zip
    Since you have Oracle Express you should unzip it to :
    C:\oraclexe\app\oracle\product\10.2.0\demo
    Thereafter copy
    C:\oraclexe\app\oracle\product\10.2.0\demo\schema\order_entry
    to
    C:\oraclexe\app\oracle\product\10.2.0\server\demo\schema
    then :
    C:\oraclexe\app\oracle\product\10.2.0\demo\schema>path=c:\oraclexe\app\oracle\pr
    oduct\10.2.0\server\BIN
    C:\oraclexe\app\oracle\product\10.2.0\demo\schema>sqlplus system/manager
    then
    @mksample as described in http://www.oracle.com/technology/obe/obe1013jdev/common/OBEConnection.htm
    I agree with you that this was not straight forward since these scripts are pretty complex, but I did this now and I have at least the customer - orders relation up and running so I hope it helps.
    kind regards
    Terje

  • Why i can't not create new database in oracle 10g express

    why i can't not create new database in oracle 10g express?
    should i use oracle 11g standard edition?
    thanks

    In Oracle a schema is what a 'database' is in Sqlserver.
    And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
    However, probably you don't need a new database at all, and a schema will suffice.
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle 10g Express edition,can't visit database homepage

    I have installed Oracle 10g Express edition without error meggage, It seems goes well ,but when I want to visit my database_homepage on http://127.0.0.1:8080/apex, I see this:
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Click the Refresh button, or try again later.
    Open the Web site home page, and then look for links to the information you want.
    If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the Web site home page.
    10061 - Connection refused
    Internet Security and Acceleration Server
    Technical Information (for support personnel)
    Background:
    The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server.
    ISA Server: csscisaser
    Via:
    Oracle is installed on my own computer.I think ISA should do nothing with it.And I have removed proxy setting in Internet exploer,but the error still happed.
    I used netstat-a,and can find this:
    proto :tcp
    local address: myxxxxxx:8080
    foreign address myxxxxxx:0
    state : listening
    does it mean my oracle http listener is started?

    Open a command line and
    - enter ping 127.0.0.1 ... should tell whether
    connectivity is possible. If not, something is
    blocking, and that something is usually a firewall.ping 127.0.0.1. I can connect to 127.0.0.1,very fast.but when I ping 127.0.0.1:8080 ,Can't get response.
    enter ipconfig /all
    enter and post output of lsnrctl status
    There are so many output content.And you may see some #^$*#*&^$#@&* because I'm using Chinese version Oracle and OS.
    IPconfig
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : cjis-e89f34e63f
            Primary Dns Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Hybrid
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
            DNS Suffix Search List. . . . . . : xxxx.wan
    Ethernet adapter 本地连接:
            Connection-specific DNS Suffix  . : xxxx.wan
            Description . . . . . . . . . . . : Broadcom NetXtreme 57xx
    roller
            Physical Address. . . . . . . . . : xx-13-72-7D-67-8B
            Dhcp Enabled. . . . . . . . . . . : Yes
            Autoconfiguration Enabled . . . . : Yes
            IP Address. . . . . . . . . . . . : 172.18.9.30
            Subnet Mask . . . . . . . . . . . : 255.255.255.0
            Default Gateway . . . . . . . . . : 172.18.9.252
            DHCP Server . . . . . . . . . . . : 172.18.18.9
            DNS Servers . . . . . . . . . . . : 172.18.18.9
            Primary WINS Server . . . . . . . : 172.18.18.9
            Lease Obtained. . . . . . . . . . : 2007年7月16日 15:51:15
            Lease Expires . . . . . . . . . . : 2007年7月24日 15:51:15
    LSNRCTL status
    正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    LISTENER 的 STATUS
    别名                      LISTENER
    版本                      TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    启动日期                  20-7月 -2007 11:19:13
    正常运行时间              0 天 2 小时 17 分 10 秒
    跟踪级别                  off
    安全性                    ON: Local OS Authentication
    SNMP                      OFF
    默认服务           XE
    监听程序参数文件          C:\oraclexe\app\oracle\product\10.2.0\server\network\
    dmin\listener.ora
    监听程序日志文件          C:\oraclexe\app\oracle\product\10.2.0\server\network\
    og\listener.log
    监听端点概要...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cjis-e89f34e63f)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    服务摘要..
    服务 "CLRExtProc" 包含 1 个例程。
      例程 "CLRExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
    服务 "PLSExtProc" 包含 1 个例程。
      例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
    服务 "XEXDB" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    服务 "XE_XPT" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    服务 "xe" 包含 1 个例程。
      例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
    ['/pre']
    Display contents of
    C:\windows\system32\drivers\etc\hosts.['pre']
    # Copyright (c) 1993-1999 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    127.0.0.1       localhostMessage was edited by:
    sailfish83

  • Oracle Database 10g or Oracle 10g Express Edition

    Hi Friends,
    I have worked on Oracle 9i but now I would like to work on Oracle 10g but confuse because there are more option for download.Which one should I go for?
    Oracle Database 10g or Oracle 10g Express Edition ?
    Or Any other option.
    Any Suggestion are welcome.
    KarTiK.

    It all depends on what exactly you are planning to use oracle for. Depending on the version, there may be found or not some features, you can see it this way:
    EE > SE > XE
    EE is a superset of SE and SE is a superset of XE. So you will find several limitation on the XE edition.
    However, even though XE is a very limited version, it cannot be underestimated, it can be used for Spatial Data projects, it works with spatial data locator, and there are several guides that show how to use it with PHP so you can start a web site. WebPLSQL is included with it, so the only limit is your creativity.
    This version can be very useful, and you can make the most of it, you may be interested in reading this article Oracle Database 10g Express Edition: Not Just for Learners
    by Lewis Cunningham.
    The XE edition is free. So you can use it without license fees and is the best suitable tool for learning, it is easy to install and setup. You can have a fully functional XE database out of the box. Once you feel more comfortable with oracle technology you can start thinking about taking the next step to a SE or EE edition.
    ~ Madrid

  • Can not connect Oracle 10g express edition from report builder.

    I have newly installed report builder . Different home was selected for Report builder and oracle. Oracle database server is also in the same machine. But i am not able to connect my oracle 10g express edition database. It throws error ORA-12154 : TNS could not resolve service name.( same error displayed while trying to connect from SQL Plus).But from toad i am able to access the database. May be because here I am able to select the proper home.
    Here i am adding my tns entry
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1ECA66A679AB494)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    can any one suggest what the actual problem is?
    Thanks ..........

    Hello,
    Oracle 10g XE is rather specific and, I'm not sure that you can upgrade it to 10.2.0.4 .
    However, Oracle published an Upgrade Guide for Oracle Express Edition but, it's limited to *10.2.0.3*:
    http://download.oracle.com/docs/cd/B25329_01/doc/server.102/b32391/toc.htm
    But be careful:
    Once you have upgraded to Oracle Database 10g, you cannot downgrade back to Oracle Database Express Edition.Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on May 22, 2010 12:06 AM

  • 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

Maybe you are looking for

  • Hp Slate 7-2801 charging port is loose & doesn't charge anymore

    I too have the sam problem in charging my hp tab. I guess the charging port is loose and doesn't fit well (tightly)with the cable. Now my battery is drained out and i have no way of charging it. Have tried other cables also but din't help. The model

  • Iscsi in Solaris 5.10.1 express 3/05

    Since Solaris 10 express (5.10.1) 3/05 (start from 2/05), iscsiadm is provided as isci initiator; I have a Cisco iscsi SN5428 router, (the storage is Sun StorEdge 9980) I have some solaris 9 iscsi clients setup in our enviroment using the Cisco iscsi

  • @MOVAVG issue in Hyperion Planning 11.1.2.1

    Hi Experts, I am created member formula for one of the account which has the following code. @MOVAVG("AC_ASSETS",2,@REMOVE(@XRANGE ("FY10"->"Jan","FY19"->"Dec"),("FY10"->"BegBalance","FY19"->"BegBalance","FY12"->"BegBalance","FY13"->"BegBalance","FY1

  • Invoices Interface to third party system and getting updates back to SAP

    Hello! We are trying to do our best to create the following process: For billing documents we will use outgoing IDOC invoic02. This IDOC will be transferred to authorities system. The invoice have to change several statuses at authorites system. Each

  • Periodically am redirected to dnsassist page when accessing active sites

    Several times a day when trying to go to active/working websites I am redirected to http://search.dnsassist.verizon.net/assist.php?url= and the following message is displayed: Sorry, We could not find (URL specified) It may be unavailable or may not