Oracle database down need help

My company is using a program called Digital Collections (DC4) from GMTI. We have an oracle database on the backend. Recently the server's raid array fan went out and we lost all 5 drives. We were able to recover some of the lost data from backup tapes but we can't seem to locate the oracle 8.0.5 install CD's. Now, I can only download 9i which as I understand will not access oracle 8 files. All the migration howto's start by dumping the data from oracle 8 and then importing to 9i. But if I don't have 8 running how can I dump the data? Does anyone know of a solution. Either a method or utility to dump the data from the raw files or a link to download 8.0.5 Any help will be greatly appreciated.

You can't attach oracle 8 version datafiles to 9i database or vice-versa. It was DBA's responsibility to keep the backups in case of disaster occurs at any time.
Check with your friends about the availability of oracle 8, you will get it, if you are lucky enough.
Jaffar

Similar Messages

  • Oracle database 8i : need help

    Hi!
    We have the following:
    Apps : 11.0.3
    Database : 8i
    these are on a server.
    When we are trying to access the db using TOAD or SQL*PLUS from a workstation, after putting the connect string info in 9i db tnsanames.ora file, we get the following error message:
    ORA12514: TNS:Listener could not resolve service_name given in connect descriptor.
    Can someone guide us?
    Thanks n regards,
    Aparna

    Hi,
    You can try too to connecting using this syntax:
    user/password@<server>:<port>/<sid>
    C:\>sqlplus system/[email protected]:1521/BD01
    SQL*Plus: Release 10.1.0.2.0 - Production on Sex Nov 24 08:43:36 2006
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [email protected]:1521/BD01>Cheers

  • Oracle database crashing.Need help.

    Hi
    We have an oracle 11.1.0.7.0 database running on windows 2003 R2. All of a sudden as of today the server crashed.
    Trace logs are as below.
    Can anyone provide any help on how to diagnose the issue.
    Thanks
    *** 2011-04-26 00:30:15.291
    Process diagnostic dump for W000, OS id=6212
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2554M/4446M, VA:1260M/2047M
    CPU Load: 61%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001aa8 00001388 00000000 0f45e55c
    _skgpwwait()+128                                                 00000000                                                         00001aa8 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0f45e5c8 0babb460 2f371f7c 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea568b0 2ea568b0 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0f45e7bc 000001f4 0f45e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0f45fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0dc6e918 0dc85e78 0d6ff2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0f45fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0f45fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0f45fe9c 00000032 00000004 0f45fea8
    opimai()+92                                                     opimai_real()+0 00000003 0f45fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0f45ff20 89a96710 0d6f0030
    77E6482C 00000000 0b1a4c18 00000000 00000000 0b1a4c18
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:30:15.400
    Waited for process W000 to initialize for 107276 seconds
    *** 2011-04-26 00:50:21.400
    Process diagnostic dump for W000, OS id=11304
    Memory (Avail/Total): Ph:1923M/3839M, Ph+PgF:2563M/4446M, VA:1268M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000019b0 00001388 00000000 0d85e55c
    _skgpwwait()+128                                                 00000000                                                         000019b0 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0d85e5c8 0babb460 2f371494 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0d85e7bc 000001f4 0d85e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0d85fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c8ee914 0c935e6c 0c79f2d8
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0d85fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0d85fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0d85fe9c 00000032 00000004 0d85fea8
    opimai()+92                                                     opimai_real()+0 00000003 0d85fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0d85ff20 89b057d0 0c790030
    77E6482C 00000000 0b18e3c8 00000000 00000000 0b18e3c8
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 00:50:21.509
    Waited for process W000 to initialize for 110881 seconds
    *** 2011-04-26 01:50:27.697
    Process diagnostic dump for W000, OS id=10832
    Memory (Avail/Total): Ph:1926M/3839M, Ph+PgF:2566M/4446M, VA:1266M/2047M
    CPU Load: 11%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 000018fc 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         000018fc 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c54e918 0c565e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 89c36268 09a20030
    77E6482C 00000000 0b187fb8 00000000 00000000 0b187fb8
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 01:50:27.806
    Waited for process W000 to initialize for 112681 seconds
    *** 2011-04-26 02:20:27.884
    Process diagnostic dump for W000, OS id=9720
    Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2557M/4446M, VA:1266M/2047M
    CPU Load: 43%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0bab7ca0
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 80828c73 09a20030
    77E6482C 00000000 0b187f70 00000000 00000000 0b187f70
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.110000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 02:20:27.994
    Waited for process W000 to initialize for 115689 seconds
    *** 2011-04-26 03:10:36.994
    Process diagnostic dump for W000, OS id=10068
    *** 2011-04-26 03:10:37.103
    Memory (Avail/Total): Ph:1933M/3839M, Ph+PgF:2575M/4446M, VA:1267M/2047M
    CPU Load: 32%
    Stack:
    ------------------- Call Stack Trace ---------------------
    calling location entry point arg #1 arg #2 arg #3 arg #4
    7C82847C 00000000 00000000 00000000 00000000 00000000
    77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
    _skgpwwait()+128                                                 00000000                                                         00001a00 00001388 004c4b40 0d1dceb8
    ksliwat()+2180                                                  skgpwwait()+0 0dd0e5c8 0d1e0678 2f36f3dc 004c4b40
    kslwaitctx()+146                                                ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
    kslwait()+158                                                   kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
    ksvrdp()+26715                                                  kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
    opirip()+813                                                    ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
    opidrv()+1357                                                   opirip()+0 00000032 00000004 0dd0fea8 00000000
    sou2o()+45                                                      opidrv()+0 00000032 00000004 0dd0fea8 00000000
    opimaireal()+263 _sou2o()+0                                                       0dd0fe9c 00000032 00000004 0dd0fea8
    opimai()+92                                                     opimai_real()+0 00000003 0dd0fed4 00000000 00000000
    BackgroundThreadStart@4()+529                                   opimai()+0 00000003 0dd0ff20 8a7c5db0 09a20030
    77E6482C 00000000 0b1a9bc0 00000000 00000000 0b1a9bc0
    00000000 00000000 00000000 00000000 00000000 00000000
    ---------------- End of Call Stack Trace -----------------
    Call stack acquisition performance stats:
    setup time (lock acquis., memory alloc.): 0 ms
    frame get time (time the target proc was suspended): 0 ms
    symbol translation time: 0 ms
    total time: 0 ms
    Process diagnostic dump actual duration=0.109000 sec
    (max dump time=30.000000 sec)
    *** 2011-04-26 03:10:37.103
    error 2103 detected in background process
    OPIRIP: Uncaught error 447. Error stack:
    *** 2011-04-26 03:35:37.103
    ORA-00447: fatal error in background process
    ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
    Edited by: user8952784 on Apr 25, 2011 12:53 PM

    Hello,
    What is MOS?
    MOS stand for My Oracle Support (formelly called Metalink). You'll find below their link:
    https://support.oracle.com/
    You'll need the Customer Support Identifier ( CSI ) to get an account.
    As soon as, you can logon to MOS, then open a Service Request and send them the Alert log, trace file, ... and if possible an Incident Package so that they can diagnose the error you got.
    As you are in 11.1 you can generate an Incident Package with the help of the Automatic Diagnostic Repository ( ADR ). You may follow the procedure below to create the Incident Package and manage the call with MOS:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/diag002.htm#CHDJDBCH
    Hope this help.
    Best regards,
    Jean-Valentin

  • Wich oracle database i need to buy(license) for oracle portal

    wich is better oracle database i need to buy(license) for oracle portal (10g)

    Hmmm... I'm not too sure. But we use 10.1.4.
    Try contacting your nearest Oracle reseller I guess!

  • Oracle Database down /failover clause ?

    hi
    I am collecting the information regarding oracle database down / failover clouses , so all of you requested kindly send me your experience regarding Oracle database down/failover reason/clause.
    thanks in advance
    regards

    Hi,
    Are you looking for notes or scenarious.
    If you are looking for some notes follow the below link:
    http://pavandba.wordpress.com/category/dataguard/
    Thanks,
    Rafi.

  • Where is the forum for TFS, I have found an issue related to its database I need help

    Hello,
    Where is the forum for TFS, I have found an issue related to its database I need help 
    One of the encrypted Stored Procedure is throwing an error and I have no
    idea how to fix the problem.
    EXEC dbo.InstallWorkItemWordsContains
    FOR XML could not serialize the data for node 'nt_user_name' because it contains a character (0x0000) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image
    data type and use the BINARY BASE64 directive.
    Msg 3616, Level 16, State 2, Line 1
    An error was raised during trigger execution. The batch has been aborted and the user transaction, if any, has been rolled back.

    Hello,
    Here are the
    Visual Studio Team Foundation Server forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Oracle SQL Newbie need help with OE Demo Schema Installation

    Hello everybody !
    I'm hoping some kind soul can help out this SQL newbie.
    First of all i've installed 10g R2 database on a PC running XP SP2.
    Oracle is installed on the root C: drive
    I'm using the SQL Fundamentals I Exam Guide and DBA Handbook (Both Oracle Press)
    as my reference.
    My problem is this.
    I installed the DB and created the demo HR schema without too much problem
    but it's the demo OE schema i'm having problems getting running and cannot
    find anywhere on the net that outlines a step by step SQL process.
    I am using SQL Plus to execute these commands.
    My questions are these:
    -For the default tablespace i specify "users" ?
    -What do i specify for the temporary tablespace ? "temp" ?
    -what directory path do i put for the data files as parameter 6 ?
    I put down "C:\oracle\product\10.2.0\db_1\demo\schema\order_entry" but i suspect it's
    the wrong thing ?
    -What do i specify for the writable directory path for the log files ?
    Is it C:\oracle\product\10.2.0\RDBMS\log
    -And what is "Specify version as parameter 8:" line ?
    I assumed it was the db version but i believe it's wrong.
    Could somebody please help me ? I've already done my CCNA and i wanted to add oracle under my belt.
    I know if i had these few things cleared up for me it would pave the way to actually enjoying learning Oracle :)
    Thank you for any assistance :)

    I installed the DB products from the companion disk and there was no specific mention of the demo schemas. Regardless... They're all there within the demo subfolder and have already created the hr schema.. I just need somebody (I'll pay if necessary) to PLEASE just answer (what would be easy to you guys my questions so i can move on.
    this is a cap from my sql plus..
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jun 14 15:01:29 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter user oe account unlock identified by oe;
    User altered.
    SQL>
    specify password for OE as parameter 1:
    Enter value for 1: mewfymewf
    specify default tablespeace for OE as parameter 2:
    Enter value for 2: users
    specify temporary tablespace for OE as parameter 3:
    Enter value for 3: temp
    specify password for HR as parameter 4:
    Enter value for 4: mewfymewf
    specify password for SYS as parameter 5:
    Enter value for 5: mewfymewf
    specify directory path for the data files as parameter 6:
    Enter value for 6: C:\oracle\product\10.2.0\db_1\demo\schema\order_entry
    writeable directory path for the log files as parameter 7:
    Enter value for 7: C:\oracle\product\10.2.0\db_1\RDBMS\log
    specify version as parameter 8:
    Enter value for 8: 10.2.0
    User dropped.
    old 1: CREATE USER oe IDENTIFIED BY &pass
    new 1: CREATE USER oe IDENTIFIED BY mewfymewf
    User created.
    old 1: ALTER USER oe DEFAULT TABLESPACE &tbs QUOTA UNLIMITED ON &tbs
    new 1: ALTER USER oe DEFAULT TABLESPACE users QUOTA UNLIMITED ON users
    User altered.
    old 1: ALTER USER oe TEMPORARY TABLESPACE &ttbs
    new 1: ALTER USER oe TEMPORARY TABLESPACE temp
    User altered.
    Grant succeeded.
    Connected.
    Session altered.
    Session altered.
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/coe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/loe_10.2.0"
    SP2-0310: unable to open file "C:\oracle\product\10.2.0\db_1/demo/schema/order_entry/poe_10.2.0"
    Session altered.
    ...creating subschema OC in OE
    Type created.
    Type body created.
    Table created.
    FROM inventories i, warehouses w
    ERROR at line 6:
    ORA-00942: table or view does not exist
    FROM product_information p
    ERROR at line 10:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM customers c
    ERROR at line 20:
    ORA-00942: table or view does not exist
    FROM orders o
    ERROR at line 9:
    ORA-00942: table or view does not exist
    ON oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    TABLE order_item_list OF oc_orders FOR EACH ROW
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Commit complete.
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 5:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    FROM oc_product_information o
    ERROR at line 4:
    ORA-00942: table or view does not exist
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    Type altered.
    3 rows updated.
    0 rows updated.
    0 rows updated.
    0 rows updated.
    Commit complete.
    Type body altered.
    Type body altered.
    Type body altered.
    PL/SQL procedure successfully completed.
    SQL>
    Like i can figure out that the "version in parameter 8" has something to do with the coe, poe & loe files
    but i don't know what.
    If somebody can please help me with my questions then i know i can move on.
    Thanks
    Edited by: user11216992 on Jun 14, 2010 3:37 PM

  • Front End to Oracle Database - Advice Needed

    Hi
    My company has recently purchased an Oracle Database. Are there any advantages in creating the front end in Oracle as opposed to writing the front end in Java.
    I am interested to know if one method is preferred over the other. I was planning on writing it entirely in Java.
    Any help or advice would be appreciated.
    Thanks
    Kelly

    http://www.tuxedo.org/~esr/faqs/smart-questions.html#ASKING
    pls don't crosspost
    http://forums.java.sun.com/thread.jsp?thread=243868&forum=31&message=892346
    http://forums.java.sun.com/thread.jsp?thread=243869&forum=48&message=892352

  • ZenWorks Oracle database problem, please help!

    Hi,
    we have problem with Zenworks 6.5sp2 database. This database is on Oracle
    10g server (SUSE Linux Enterprise Server 9). We prepared the clean
    database. When I start the inventory servise, following error are in the
    migration log file:
    Starting the AlterProcedure Log at 2006-06-20 13:09:09.755
    Unzipping the file migrate.zip
    About add t$Class table,Supportpack,Productedition,File
    Supportpack t$ClassID:ORA-00001: unique constraint
    (MW_DBA.I$CLASS$CLASSNAME) violated
    ProductEdition t$ClassID:ORA-00001: unique constraint
    (MW_DBA.I$CLASS$CLASSNAME) violated
    file t$ClassID:ORA-00001: unique constraint (MW_DBA.I$CLASS$CLASSNAME)
    violated
    and following errors in the end of log file:
    ORA-01950: no privileges on tablespace 'CIM9'
    managewise->create index i$User$storer on managewise.t$user(all_columns)
    tablespace cim9 pctfree 0 is being executed
    Could not do the operation. details:ORA-01950: no privileges on
    tablespace 'CIM9'
    ErrorCode:1950
    Totaltime taken for Schema Migration : 5616
    Migration Exception Message->ORA-01950: no privileges on tablespace 'CIM9'
    , SQLState->42000, ErrorCode->1950
    Any tip???
    Josef

    We set up a new oragle 10 g1 database, and followed the instructions
    from Novell's documentation about setting up teh oracle database. We
    configured and ran the inventory service on Netware, and on SuSE linux.
    In both case, we got this error:
    com.novell.zenworks.desktop.inventory.storer.MainT hread.run(MainThread.java:976)
    [6/16/06 13:20:54.292] ZENInv - Storer: MainThread-1 position:
    com.novell.zenworks.desktop.inventory.storer.Datab aseException:
    ORA-00001: unique constraint (MW_DBA.SYS_C004544) violated
    Rest of hte log file is here:
    at
    com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.executeUpdate(DatabaseOperator.java:25 44)
    at
    com.novell.zenworks.desktop.inventory.storer.Insta lledFile.loadFromTemp(InstalledFile.java:215)
    at
    com.novell.zenworks.desktop.inventory.storer.Parse .addNullsDuringFULLScan(Parse.java:3609)
    at
    com.novell.zenworks.desktop.inventory.storer.Parse .parse(Parse.java:4119)
    at
    com.novell.zenworks.desktop.inventory.storer.MainT hread.run(MainThread.java:976)
    [6/16/06 13:20:54.293] ZENInv - Status Reporting: Messages are written
    into XML file for DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.305] ZENInv - Status Reporting: Number of records to
    add are: 1 for DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.319] ZENInv - Status Reporting: Adding record 0 for
    DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.388] ZENInv - Status Reporting: Number of modified
    records are: 0 for DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.388] ZENInv - Storer: MainThread-2 position:
    [6/16/06 13:20:54.389] ZENInv - Storer: MainThread-2 position(determined
    that connection is closed):
    [6/16/06 13:20:54.500] ZENInv - Status Reporting: Messages are written
    into XML file for DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.512] ZENInv - Status Reporting: Number of records to
    add are: 1 for DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.526] ZENInv - Status Reporting: Adding record 0 for
    DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.588] ZENInv - Status Reporting: Number of modified
    records are: 0 for DN=CN=Inventory Service_oes1.O=novell
    [6/16/06 13:20:54.588] ZENInv - Storer: Connection restored.Retrying the
    str file 00B0D0DFA1B1_1150292302000_1.STR
    [6/16/06 13:20:55.192] ZENInv - Storer: Loading Storer test properties file
    [6/16/06 13:20:55.192] ZENInv - Storer: Storer: started storing
    00B0D0DFA1B1_1150292302000_1.STR (122146 bytes)
    [6/16/06 13:20:55.220] ZENInv - Storer: dn: CN=RWALKERDESKTOP.O=novell
    tree: CGISTESTTREE
    [6/16/06 13:20:55.220] ZENInv - Storer: tree: CGISTESTTREEwsdn:
    CN=RWALKERDESKTOP.O=novelltime: 1150293040000
    [6/16/06 13:20:55.220] ZENInv - Storer: Initial WS statusrecord is found
    [6/16/06 13:20:55.221] ZENInv - Storer: got the status log
    [6/16/06 13:20:55.259] ZENInv - Storer: [FULL]DELETING ALL PRODUCTS
    [6/16/06 13:20:55.881] ZENInv - Storer: Products=108 Sw_Times = 120 108
    0 0 53 50 0 0 264 108 4 1 TotalTime=561
    [6/16/06 13:20:56.528] ZENInv - Storer: FileCacheHits=172 : 172
    [6/16/06 13:20:56.938] ZENInv - Storer: ws deletetime : 258
    [6/16/06 13:20:58.273] ZENInv - Storer: time for getting unique object: 77
    [6/16/06 13:20:58.526] ZENInv - Storer: Some Database Exception
    com.novell.zenworks.desktop.inventory.storer.Datab aseException:
    ORA-00001: unique constraint (MW_DBA.SYS_C004544) violated

  • Oracle XE 10g database offline need help getting it back in 11g EE

    Our server crashed...completely crashed...lightning took it clean out. It was older hardware running server 2003, oracle xe 10g, so we replaced it with a newer better server running 2008r2 (64bit I might add).
    I need to bring the old database, tablespaces and datafiles back online with the new server and the new instance of Oracle.
    I have sucessfully installed oracle 11g EE and can create new a new database (all is online with this), but I need my old data back for PCM 13.1. I cannot find any good online documentation regarding this issue, and we are down until its corrected. Obviously just copying the data over isnt going to work, so any help is much appreciated.
    I have good copies of the old hard drives with the folder structures intact, but there is no chance of getting the old OS back online without purchasing old matching hardware and just slamming the drives into it.
    Basically how do I get the new instance of Oracle to open and run my older database...how do I restore it?

    I did it...yay! Here's what I did...I installed a fresh copy of oracle 10g xe in my virtual xp mode. Stopped the database after installation...deleted and replaced the oradata and fast_recovery_area folders with my old data. Started the database and everything worked so far. In the server with 2008 r2 I installed 11g xe, same system password. I then installed SQL Developer on both computers (easier for me than typing out the scripts). In the XP mode 10g xe computer I did a FULL data pump export to a dump directory. I then moved the dump file to the new server and ran a data pump import, appending data if existing. First time, failed....checked the log and obviously I missed the fact the folder structure MUST be the same for the datafiles or I would have to remap (too much work). The default oradata folder is different in 10g than 11g. I created the oradata folder in 11g xe in the same location as 10g would put it and ran the import script again. BAM, it worked this time...I have my data back in 11g xe and my software was able to find it like it should. Thank you for your consideration and help...hope this helps someone else down the road.

  • Oracle Instance Failuer Need help to fix the problem

    Hi
    I am running Oracle9.2 on AIX. The data base got filed due to the following error and I am not getting where to start to dig into the error. The following are the mesg I found in alert log file. But i restarted it its now running But I dont want the same problem to repeat that's why I need assistance to debug the problem. Thanks
    Sat Oct 1 21:11:06 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65536.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:10 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_64730.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:13 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_29256.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:16 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74036.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:18 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24036.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:20 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_58880.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:22 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24038.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:25 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65544.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:28 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74044.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:31 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24050.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:34 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_55086.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:37 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_59506.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:40 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_58894.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:43 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_59508.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:46 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65552.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:49 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_24056.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:52 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65556.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:55 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_64746.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:11:58 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74056.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:12:01 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_55098.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:12:04 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74058.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Sat Oct 1 21:12:07 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_59520.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Mon Oct 3 10:25:56 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_23834.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Mon Oct 3 10:27:32 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_38114.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Mon Oct 3 10:28:29 2005
    Starting ORACLE instance (normal)
    Mon Oct 3 10:29:03 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_65696.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Mon Oct 3 10:29:24 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_54902.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Mon Oct 3 10:31:32 2005
    Starting ORACLE instance (normal)
    Mon Oct 3 10:31:33 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_55050.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Mon Oct 3 10:32:07 2005
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 26
    All dispatchers and shared servers shutdown
    Mon Oct 3 10:32:11 2005
    ALTER DATABASE CLOSE NORMAL
    Mon Oct 3 10:32:11 2005
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Oct 3 10:32:11 2005
    Shutting down archive processes
    Archiving is disabled
    Mon Oct 3 10:32:11 2005
    ARCH shutting down
    ARC0: Archival stopped
    Mon Oct 3 10:32:11 2005
    ARCH shutting down
    ARC1: Archival stopped
    Mon Oct 3 10:32:12 2005
    Thread 1 closed at log sequence 4026
    Successful close of redo thread 1
    Mon Oct 3 10:32:18 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74172.trc:
    ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
    Mon Oct 3 10:32:19 2005
    Errors in file /oracle/ABBA1/system/dump/udump/ABBA1_ora_74172.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
    Mon Oct 3 10:32:29 2005
    Errors in file /oracle/ABBA1/system/dump/bdump/ABBA1_pmon_32534.trc:
    ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
    Mon Oct 3 10:32:29 2005
    Errors in file /oracle/ABBA1/system/dump/bdump/ABBA1_pmon_32534.trc:
    ORA-00600: internal error code, arguments: [17175], [255], [], [], [], [], [], []
    Mon Oct 3 10:32:29 2005
    PMON: terminating instance due to error 600
    Instance terminated by PMON, pid = 32534
    Mon Oct 3 10:33:46 2005
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.5.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 117440512
    large_pool_size = 16777216
    java_pool_size = 117440512
    control_files = /oracle/ABBA1/system/control01.ctl, /oracle/ABBA1/system/control02.ctl, /oracle/ABBA1/system/control03.ctl
    db_block_size = 16384
    db_cache_size = 318767104
    compatible = 9.2.0.0.0
    log_archive_start = TRUE
    log_archive_dest_1 = LOCATION=/oracle/ABBA1/archive
    log_archive_format = ABBA1_%T_%S.ARC
    db_file_multiblock_read_count= 32
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = oracle/ABBA1
    dispatchers = (PROTOCOL=TCP) (SERVICE=oracle/ABBA1XDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    hash_area_size = 1048576
    background_dump_dest = /oracle/ABBA1/system/dump/bdump
    user_dump_dest = /oracle/ABBA1/system/dump/udump
    core_dump_dest = /oracle/ABBA1/system/dump/cdump
    sort_area_size = 1048576
    db_name = ABBA1
    open_cursors = 300
    star_transformation_enabled= TRUE
    query_rewrite_enabled = TRUE
    pga_aggregate_target = 314572800
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Oct 3 10:33:48 2005
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=12
    ARC0: Archival started
    ARC1 started with pid=13
    ARC1: Archival started
    Mon Oct 3 10:33:49 2005
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Mon Oct 3 10:33:49 2005
    ARC0: Thread not mounted
    Mon Oct 3 10:33:49 2005
    ARC1: Thread not mounted
    Mon Oct 3 10:33:49 2005
    /* OracleOEM */ ALTER DATABASE MOUNT
    Mon Oct 3 10:33:53 2005
    Successful mount of redo thread 1, with mount id 1053693133
    Mon Oct 3 10:33:53 2005
    Database mounted in Exclusive Mode.
    Completed: /* OracleOEM */ ALTER DATABASE MOUNT
    Mon Oct 3 10:33:53 2005
    /* OracleOEM */ ALTER DATABASE OPEN
    Mon Oct 3 10:33:53 2005
    LGWR: Primary database is in CLUSTER CONSISTENT mode
    Thread 1 opened at log sequence 4026
    Current log# 2 seq# 4026 mem# 0: /oracle/ABBA1/redo2/redo2_A.dbf
    Current log# 2 seq# 4026 mem# 1: /oracle/ABBA1/redocopy/redo2_B.dbf
    Successful open of redo thread 1
    Mon Oct 3 10:33:54 2005
    SMON: enabling cache recovery
    Mon Oct 3 10:33:54 2005
    Undo Segment 1 Onlined
    Undo Segment 2 Onlined
    Undo Segment 3 Onlined
    Undo Segment 4 Onlined
    Undo Segment 5 Onlined
    Undo Segment 6 Onlined
    Undo Segment 7 Onlined
    Undo Segment 8 Onlined
    Undo Segment 9 Onlined
    Undo Segment 10 Onlined
    Successfully onlined Undo Tablespace 1.
    Mon Oct 3 10:33:54 2005
    SMON: enabling tx recovery
    Mon Oct 3 10:33:54 2005
    Database Characterset is WE8ISO8859P1
    replication_dependency_tracking turned off (no async multimaster replication found)
    Completed: /* OracleOEM */ ALTER DATABASE OPEN
    Mon Oct 3 10:34:17 2005
    ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=plpar00)(PORT=1521))'
    Mon Oct 3 10:34:35 2005
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 5
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Mon Oct 3 10:34:38 2005
    ALTER DATABASE CLOSE NORMAL
    Mon Oct 3 10:34:39 2005
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Oct 3 10:34:39 2005
    Shutting down archive processes
    Archiving is disabled
    Mon Oct 3 10:34:39 2005
    ARCH shutting down
    ARC0: Archival stopped
    Mon Oct 3 10:34:39 2005
    ARCH shutting down
    ARC1: Archival stopped
    Mon Oct 3 10:34:39 2005
    Thread 1 closed at log sequence 4026
    Successful close of redo thread 1
    Mon Oct 3 10:34:39 2005
    Completed: ALTER DATABASE CLOSE NORMAL
    Mon Oct 3 10:34:39 2005
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Oct 3 10:34:49 2005
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.5.0.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 117440512
    large_pool_size = 16777216
    java_pool_size = 117440512
    control_files = /oracle/ABBA1/system/control01.ctl, /oracle/ABBA1/system/control02.ctl, /oracle/ABBA1/system/control03.ctl
    db_block_size = 16384
    db_cache_size = 318767104
    compatible = 9.2.0.0.0
    log_archive_start = TRUE
    log_archive_dest = /oracle/ABBA1/archive
    log_archive_format = ABBA1_%T_%S.ARC
    db_file_multiblock_read_count= 32
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = oracle/ABBA1
    dispatchers = (PROTOCOL=TCP) (SERVICE=oracle/ABBA1XDB)
    job_queue_processes = 10
    hash_join_enabled = TRUE
    hash_area_size = 1048576
    background_dump_dest = /oracle/ABBA1/system/dump/bdump
    user_dump_dest = /oracle/ABBA1/system/dump/udump
    core_dump_dest = /oracle/ABBA1/system/dump/cdump
    sort_area_size = 1048576
    db_name = ABBA1
    open_cursors = 300
    star_transformation_enabled= TRUE
    query_rewrite_enabled = TRUE
    pga_aggregate_target = 314572800
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Mon Oct 3 10:34:49 2005
    I need assistance in this regard
    Thanks

    It will help if you have a look at Note:211909.1 in Metalink to understand why ORA-07445
    Then have a look at the content of the trace files. e.g /oracle/ABBA1/system/dump/udump/ABBA1_ora_65536.trc to see if you can pick anything from the 'Current SQL statement' you will see in it (get help from Note:154170.1). This will at least give you an idea what SQL is causing the problem.
    If they are your own application SQLs, then try to see if your team can fix the code. If they are System related or you cannot figure out what it is (even if it is from your own SQLs), I would suggest log a TAR with Oracle Support.

  • Query off of Oracle using WinSql - Need help with query

    I am trying to query off of Oracle using program WinSql.
    I have a table(tticpr200110) that has the following sample data:
    ITEM     CODE     T$AMNT
    23500076 ACL     .0049
    23500076 APM     0
    23500076 APO     .0093
    23500076 EXP     .0001
    23500076 RES     .0072
    and what I want it to look like is:
    ITEM     ACL     APM     APO     EXP     RES
    23500076     0.0049     0     0.0093     0.0001     0.0072
    (actually I need the last 2 columns added together to be MATL-but can deal with that down the road).
    Seems simple enough, but I don't know to put into the columns.
    Any help would be GREATLY appreciated as soon as possible would be even better.

    My table - tticpr200110 when it runs I get the following sample data for part number 23500076:
    The first coloumn ITEM is the part number.
    The second column CODE is 1 of 5 different cost codes
    The third column is the cost for that code for that part.
    ITEM CODE AMNT
    23500076 ACL 0.0049
    23500076 APM 0.0000
    23500076 APO 0.0093
    23500076 EXP 0.0001
    23500076 RES 0.0072
    I want to make a query that makes the data look like this:
    ITEM ACL APM APO EXP RES
    23500076 0.0049 0.0000 0.0093 0.0001 0.0072
    (similar to a pivot table in excel or acess)
    I hope this helps better.
    Thanks!

  • New To Oracle.. Needs Help:: Conversion from SQL Server to Oracle 11g

    I am new to Oracle 11g and badly need the conversion of SQL Server Functions to Oracle.. Sample Pasted Code not working .. end with error.. pls help
    Create Table TempT (ID1 Varchar (10),
    ID2 Varchar (10)
    CREATE OR REPLACE PACKAGE GLOBALPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    TRANCOUNT INTEGER := 0;
    IDENTITY INTEGER;
    END;
    CREATE OR REPLACE FUNCTION fTempT
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT TT.*
    FROM TempT TT
    WHERE (fTempT.i = ''
    OR TT.ID1 = fTempT.i)
    RETURN REFCURSOR;
    END;
    CREATE OR REPLACE FUNCTION fTempTF
    i IN VARCHAR2 DEFAULT NULL
    RETURN GLOBALPKG.RCT1
    IS
    REFCURSOR GLOBALPKG.RCT1;
    BEGIN
    OPEN REFCURSOR FOR
    SELECT *
    FROM TABLE(fTempT(i))
    RETURN REFCURSOR;
    END;
    LAST FUNCTION ENDs WITH ERROR
    Error(13,7): PL/SQL: ORA-22905: cannot access rows from a non-nested table item

    2. The major purpose is to get a simplest way to create a parameterized function who can return a table like output. 2nd function has no use instead i was testing the result of First Function like thisIf you just want to select from a select, you should use a view not a function.
    1. which program is more help ful for writing and executing queries bcoz after using Query Analyzer of Microsoft It seems difficult to work on SQL Developer.
    sqlplus? If you are having difficulty learning new tools because of an old one you used, probably best to forget the old one and concentrate on learning the new one because it will be different. This goes for the database itself also.
    2. Can DMLs be used within a Function.Yes, you just can't execute the function in another SQL statement if it modifies data and this is a good thing.
    3. Can temporary tables be used within a function.Unfortunately yes, but they shouldn't be unless you are in a slowest application competition.
    5. Each Function which is a Table Function must be accompanied with Type Definitions?? its a bit longer way of doing the things than SQL ServerThat is why it is better to use views instead, is there any reason you want a select that you can select from inside a function?
    SQL Server for last 9 years thats why i refer this toolThat is not in itself a problem, if you try and do what you did in SQLServer in Oracle, that will be a problem though.

  • Oracle DB Down / Need Assistance

    Hello,
    When I try to start our database I am getting the following errors.
    ORA-01172: recovery of thread 1 stuck at block 22880 of file 28
    ORA-01151: use media recovery to recover block, restore backup if needed
    Questions
    1) Are there any way to resolve these errors?
    2) If not, we have dmp.Z exports that are backed up daily. What is the best way to restore these?
    Note, I am an Oracle Newbie, but a quick learn.
    Thanks for your help in advance.
    [email protected]

    Before performing a full recovery I suggest you see what object is stored in file 28 at block 22880. You can do this by querying dba_extents.
    If the object is a user index then just drop and recreate the index.
    If the object is a user table then if you can live with the contents of the table being different from you other tables then just drop and recreate this one table.
    If the object is a SYS owned object you will probably need to go the full imp route.
    Before relying on your exp you should check your export log and make sure the export did not fail and that you have a backup copy of the table data.
    IMHO -- Mark D Powell --

  • Login against database table,need help

    hi all:
    i need to develop a login page that authenticate users against a database table
    i made a login page with no bindings a submit button which submit the form to a struts data action ,i defined a custom method at the vo implementation expose it to the client interface and drag and drop this method into the struts action this is the method code
    public boolean findProjectOwnersByOwnerid (String Ownerid)
    setWhereClauseParam(0,Ownerid);
    executeQuery();
    boolean found = (first() != null );
    setWhereClause(null);
    setWhereClauseParams(null);
    setMaxFetchSize(0);
    return found;
    in the struts data action i override the data forword action this is the code:
    protected void findForward(DataActionContext actionContext) throws Exception
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    super.findForward(actionContext);
    String target="failed";
    JUCtrlActionBinding method = actionContext.getCustomMethod();
    String result = (String)method.getResult();
    System.out.println(result);
    if (result.equalsIgnoreCase("true"))
    target = "failed";
    if (result.equalsIgnoreCase("false"))
    target = "success";
    actionContext.setActionForward(target);
    now when i run this page i get this error java.lang.NullPointerException
    can anyone help please

    Hi,
    the nice thing with NullPointer exceptions is that it also tells you the source and line number where this occurs. It would be useful to follow up on this to see where the problem originates
    Frank

Maybe you are looking for

  • Total is not getting displayed in the ALV output.

    Hi, Total is not getting displayed in the ALV output. I m using :REUSE_ALV_BLOCK_LIST_APPEND & REUSE_ALV_BLOCK_LIST_DISPLAY Are  there any issues with it as the same settings are working fine with REUSE_ALV_LIST_DISPLAY source code: DATA: layout TYPE

  • Lost all my events updating to Mountain Lion. Help!

    I've just updated to mountain lion so I could start to sync my calandars with my iphone. I've opened up the calandars and the upgrade has wiped all events! I didn't back up before as I wasn't thinking. Any help offered?!

  • Error in creating a process task adapter in OIM

    Hi All, I am trying to create a process task adapter(Java Task) in OIM 11.1.1.5. The code tries to fetch the values of a process form using a lookup and store it in a hashmap. So have done import for Thor.Api.* and com.thortech.xl.dataaccess.tcDataPr

  • Error: the object is not currently contained in a document

    When I do a save or switch to other pages, I get the following error: "Translate error: Error: the object is not currently contained in a document" The web page I have open then doesn't render correctly in the window - although it looks fine in a bro

  • Query Template restricted to 32 Params

    Hi All, I have more than 50 Params on Screen to be inserted into database through MII Solution 1: I can send this as one param by selecting all the variables in one variable (through dynamic SQL Query) but this is not good practice as it is is not se