Can we Restore a Dropped Package in oracle 10g

Hello,
I have dropped a pl/sql package accidantly.The database is Oracle 10g R2. Is there any way to recover it.?
Thanx.

And if you don't already have source control for the code, make sure to implement it right now.
At least I now have the answer to [this question|http://forums.oracle.com/forums/thread.jspa?messageID=3370251#3370251] I was asked a while back.
Surely nobody in their right mind would ever work directly on source code saved in the database?

Similar Messages

  • Unwrapping a Package  in oracle 10g

    Hi,
    I would like to view the code of dbms_scheduler package in oracle 10g. When i tried to see the package body it shows me that the package has been wrapped. Could anyone let me know how to unwrap the package and see the contents.

    That is all you can see, no more.
    SQL> desc dbms_scheduler ;
    ....more
    FUNCTION GET_JOB_STEP_CF RETURNS RE$VARIABLE_VALUE
    Argument Name                  Type                    In/Out Default?
    IEC                            VARCHAR2                IN
    ICN                            VARCHAR2                IN
    VNAME                          VARCHAR2                IN
    IEV                            RE$NV_LIST              IN
    PROCEDURE GET_SCHEDULER_ATTRIBUTE
    Argument Name                  Type                    In/Out Default?
    ATTRIBUTE                      VARCHAR2                IN
    ...moreSs

  • Dropped sequences in oracle 10g

    Hi All,
    Can we get back the dropped sequences in oracle 10g?
    Command?
    Thanks.
    Edited by: user545846 on Apr 9, 2009 7:32 AM

    Thanks. Oracle site is accessible.
    This user has the dba previleges to select all tables. but still getting this error message:
    SQL> SELECT * FROM dba_sequences AS OF TIMESTAMP systimestamp - 1/24;
    SELECT * FROM dba_sequences AS OF TIMESTAMP systimestamp - 1/24
    ORA-01031: insufficient privileges
    Please give your comment.

  • Can we validate a userid/pasword in Oracle 10g

    Hi Everyone,
    Can we validate a userid/password in Oracle 10g while we are already connected to Oracle.
    The way I am doing it in 9i is,
    create a database link and read some data from the database using the database link.
    Any suggestions please.
    Thanks!

    If you are already connected to Oracle, why would you need (or want) to validate a user name & password? If the connection was successful, Oracle has already validated the user name & password...
    Are you trying to build your own proxy authentication mechanism? If so, I'd strongly suggest using Oracle's built-in functionality instead.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Error executing a package on Oracle 10G database

    Hi,
    I've a package on Oracle 10G database which accepts xml string as input,loads it into XMLDOM and does some processing.
    When I execute this package from .Net 2.0 client,I get the following error:
    **Error**
    err ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 0 (0x0)
    Error at line 1
    **Error**
    But when I execute the same package from .Net client 2.0 on Oracle 9i database, it seems to work fine.The xml which I am sending is well-formed one.
    Where am i going wrong?
    Please help.
    Thanks in advance...!
    Regards,
    Amit

    Check the xml strings passed as input . One of the xmls may be malformed.

  • Can we rename the database name in oracle 10g

    Hi,
    Can we rename the database name in oracle 10g.
    Please help

    Yes as already said, using DBNEWID Utility can renamed the database name.
    You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
    Regards,
    Sabdar Syed.

  • Can I run 32 bit version of Oracle 10g grid  on Linux x86-64?

    Since Oracle did not release 64 bit version of Oracle 10g grid for Linux X86-64. Can I run 32 bit version of Oracle 10g grid on Linux x86-64? If so did anyone tried this? and also any known issues?

    All I had to do was use the 32bit version of "/usr/bin/gcc" and "/usr/bin/g++" to run the installation
    That is:
    bin]# cp -p /usr/bin/gcc /usr/bin/gcc_old
    bin]# mv /usr/bin/gcc /usr/bin/gcc323
    mv: overwrite `/usr/bin/gcc323'? y
    bin]# ln -s /usr/bin/gcc296 /usr/bin/gcc
    bin]# cp -p /usr/bin/g++ /usr/bin/g++_old
    bin]# mv /usr/bin/g++ /usr/bin/g++323
    mv: overwrite `/usr/bin/g++323'? y
    bin]# ln -s /usr/bin/g++296 /usr/bin/g++
    AFTER INSTALLATION REMEMBER TO
    move back the 64bit files to their former state.
    bin]#rm /usr/bin/g++
    bin]#rm /usr/bin/gcc
    bin]#mv /usr/bin/gcc_old /usr/bin/gcc
    bin]#mv /usr/bin/g++_old /usr/bin/g++                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Maximum size of a package in oracle 10g ?

    Hi,
    I am using Oracle 10g, version-10.1.0.4.2 and OS- Windows XP.
    What should be the maximum size of a package in oracle 10g ?
    Thank u....!
    Ravi

    http://download.oracle.com/docs/cd/B14117_01/server.101/b10755/limits003.htm#sthref3594
    Nicolas.

  • Can I disable logging for session in Oracle 10g?

    I use a procedure to delete a lot of row for an application repeatedly. Because the DELETE statement is time consuming and the data don't need to be archived, I decide to use the nologging option.
    How to do it?
    What is the best choice? Can I disable logging from session in Oracle 10g?
    Thank you
    Edited by: jetq on Jul 23, 2009 9:46 AM

    Hi,
    "Delete" without generating redo-log is not possible.
    If you are on 10g, one way of making this thing efficiant is partition the table, with range-list partitioning. Partitioning existing table will be an excercise in itself, but that will be one time activity.
    In partitioned (or sub-partitioned) tables, you can truncate a partition (or subpartition). That won't generate any redo log (or very very less redo log) and that runs in seconds.
    In your case if you range partition INCOMING table by datetime (1 partition per day) and list sub-partition it by STATUS, that would help.
    Another approach is, if you are deleteing, say 80% records every day and leaving 20% (or very less) records. What you can do is, partition the table only by range on datetime. Then, every time you want to delete data, copy the rows you want to keep in some other table (or temporary table), truncate partition for that day and insert rows back (which you want to keep).
    I have done a similar thing and it works very quickly and generates very less redo log. Redo log generated in case of truncating partition or creating new partitions is just for Oracle internal commands (like data dictionary update etc).
    Have fun.

  • 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

  • Where can I download the ODBC driver for Oracle 10g XE?

    where can I download the ODBC driver for Oracle 10g XE?
    I need the ODBC drivers for windows 7 x64, I installed Oracle Database 10g Express Edition, the use and connects with RazorSQL well, I just want to make a connection THROUGH ConnectionString language using the ODBC driver

    already checked these http://www.connectionstrings.com/oracle, I need Help Please.

  • Can any one provide steps to install oracle 10g on RHEL5

    can any one provide steps to install oracle 10g on RHEL5...:)

    go through http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
    & http://www.emrealadag.com/dosyalar/it/Ora10gonRhel5.pdf
    Edited by: CKPT on Nov 23, 2010 7:15 PM

  • Unable to restore database using RMAN in oracle 10g

    Hi Everyone!!!!!!!
    I have following scenario. In which I don't want to drop newly created tablespace (test). So, let me know how to restore database from existing backup without dropping new tablespace and taking new backup?
    1. I took database backup as
    RMAN > backup database;
    2. Create one tablespace "test"
    3. Then I tried to restore database as (In mount mode)
    RMAN > restore database
    4. But I can't restore database. Even I tried after taking "test" tablespace offline , It returns error as follow
    ORA-01119: error in creating database file 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF'
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    Please suggest me step/way so that I can restore database without taking new backup or dropping new tablespace (test).........

    Hello;
    Rename this datafile :
    D:\ORACLE\PRODUCT\10.2.0\ORADATA\TESTCAT\TEST.DBF
    Then try the restore again.
    If this isn't a test database stop and think about how you will recover if this does not work. That is how will you recover from the recover if it goes bad?
    Best Regards
    mseberg

  • Error in Drop Table in Oracle 10G

    Hi All,
    When I try to drop any of the table in one of the oracle 10G database schema
    I am getting the following error.
    As for I know this error will come in PL/SQL cursor block if the exact fetch returns more than one row.
    Can any one explained the reason for this...
    Error on line 0
    DROP TABLE "TMP_GL_DATA2"
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01422: exact fetch returns more than requested number of rows
    Thanks in advance..
    Regards
    Karthik...

    Fix the error in your DDL trigger.

  • Error while sending a mail using UTP_MAIL package in Oracle 10g

    Hi,
    We are using UTP_MAIL package to send a mail from Oracle 10g.We have follwed the following steps ...
    SQL> connect sys/password as sysdba
    Connected.
    SQL> @$ORACLE_HOME/rdbms/admin/utlmail.sql
    Package created.
    Synonym created.
    SQL> @$ORACLE_HOME /rdbms/admin/prvtmail.plb
    Package body created.
    SQL > alter system set smtp_out_server = '<mail_server_ip:25>' scope =spfile;
    System altered..
    Now we try the code
    begin
    utl_mail.send(
    sender => 'sender's mail',
    recipients => 'receiver mail',
    CC => 'optional',
    subject => 'Testing utl_mail',
    message => 'Test Mail'
    end;
    But we get the following error...
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 97
    ORA-06512: at "SYS.UTL_SMTP", line 139
    ORA-06512: at "SYS.UTL_MAIL", line 405
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 2
    We also tried connecting to the mail server through telnet .But it is not getting connected..
    Please help us to solve the issue.

    From your own posting you may have the clue, if you try to access your mail server through telnet and it is not successful, it means the service is down or there are networking issues.
    On pre 10gR2 versions there was a bug 4083461.8. It could affect you if you are on 10gR1
    "Bug 4083461 - UTL_SMTP.OPEN_CONNECTION in shared server fails with ORA-29278 Doc ID:      Note:4083461.8"
    This was fixed on 10gR2 base and on 9.2.0.8.0
    ~ Madrid

Maybe you are looking for

  • F110 ECC6.0 Upgrade from 4.6C : no valid payment method found

    Hello, We upgradeed from 4.6c to ECC6.0 last week. We're having issue with F110. In the payment run some of the vendors have not been selected in payment proposal and error message:no valid payment method found. When I checked all vendor master data,

  • My ipod touch 1st gen . needs to be reset the wi-fi

    ipod touch - 1st gen .  the wi-fi needs to be reset

  • Video Poblem with Bootcamp & XP

    I just purchased the 21.5" iMac. I installed Windows XP in bootcamp and used a new Snow Leopard disk to install the drivers since I lost the install disks when travelling. My problem is I am trying to run RealFlight Sim and it tells me there is no 3D

  • Can you change the Bitrate when you use the "Compressor" High Quality...?

    I am having problems with the amount of video in DVD SP and I think I need to lower the bitrate when I compress out of FCP. Can you change the Bitrate when you use the "Compressor" High Quality setting? Thanks, Stone

  • Too much space around MCs

    I have a problem. I edited a picture in Photoshop and I exported it into Flash. I converted it to a MC and I made it clickable. Heres the problem.When I edited the picture in Photoshop I made sure to get rid of everything except the ite and saved it