[Urgent] Retrieve data from oracle datafile partially crushed

We have a big problem, we stopped in a backup/restore process from production to the test database because we found that some development SP/package code was not saved previous test DB. Now we have partially crushed oracle datafile and I guess that / hope the compiled code was stored in the last section of the data file, there is a way to retrieve the data from this data file? I intend to use an editor of exadcimal as a last resource, hoping that the data was not encrypted, but if there is another useful tool could be better. There are other storage media like newspapers/redo logs reach where we can try to find the lost code? The machine was not under a protocol of backup, so we can't count on that.

Help, please

Fabrizio

MS code is stored in the dictionary (System tablespace), if you were restoring with RMAN, is the last file to restore.

Good luck!
: p

Tags: Database

Similar Questions

  • Retrieve data from oracle to XML database

    Hello

    I run a select statement on the oracle database table. It returns me the result as a table. However, I need the result as xml.
    for example
    So overall the output of a select statement, Select First_Name, Last_Name from table1 is

    First name last name
    ----------------------------------------------
    John Lewis
    David Jones

    then I need in format xml as below

    * < row >. *
    * < John first name > < / name >. *
    * < Lewis Last_Name > < / Last_Name > *.
    * < / row > *.
    * < row >. *
    * < David name > < / name >. *
    * < Jones Last_Name > < / Last_Name > *.
    * < / row > *.

    or

    * < row name = "John" Last_Name = "Lewis" / > * "
    * < row name = "David" Last_Name = 'Jones' / > * "


    In SQL Server, we use for xml auto. How can I get the xml output in oracle? Help, please.

    Thank you

    Refer to the documentation

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14259/xdb13gen.htm

  • to retrieve data from xml data type

    Hello...
    I have a doubt in the oracle database... Here's how to retrieve data from xml data type?

    Like this...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select xmltype('
      2  
    3 4 toMonth5 5 ctTestPan1 6 costType2 7 toYear2012 8 fromMonth12 9 fromYear2011 10 11
    ') as xml from dual) 12 -- 13 -- end of sample XMLDATA, use below query on your own table etc. as required 14 -- 15 select x.* 16 from t 17 ,xmltable('/DETAILS/FIELDS_VALUES/FIELD' 18 passing t.xml 19 columns name varchar2(30) path './NAME' 20 ,val varchar2(10) path './VALUE' 21* ) x SQL> / NAME VAL ------------------------------ ---------- toMonth 5 ctTestPan 1 costType 2 toYear 2012 fromMonth 12 fromYear 2011 6 rows selected.
  • create the http client to retrieve data from web service

    Hello

    I am newbie on our webworks. I need to retrieve data from web service. How to connect to this service and analyzed. There is a tutorial that can help me get started with it.

    Can any one advice me how can I start working with webworks on blackberry 10

    Thanks for any help

    In general, you will need to use an AJAX call to the server

    It really depends on what the server returns as to how the information is easy to digest

    JQuery provides a simple interface, and returns information easy to use

    If you deal with things gets complicated XML according to namespace

    If you look at the raw XML data and it goes something like fred: name you will have questions requiring an implementation of SAX - JSON is simple if you don't get that even if (nothing too confusing here)

    If using an external data source JSON go if you have the choice

    As examples go - just look to the top of JQuery Ajax [JSON / XML] and you will get where you're going quickly

    SAX is MUCH harder because of the namespace - Dublin is the most common and same XML without namespace is not simple to handle, so avoid it if you can

  • Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving the Manager does not work, can you please help me. Thank you

    Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving this handler does not run both source and target, can you please help me. Thank you

    Hello

    The setting should be as below, and not only the port number should be...

    PORT 7809

    Kind regards

    Veera

  • Possibility to integrate data from Oracle EBS in Amazon cloud Cloud of planning via FDMEE

    Hi experts,

    I just entered a case more about FDMEE.

    I want to know is it possible to integrate data from Oracle EBS on Amazon cloud TO cloud of planning by FDMEE.

    Oracle EBS (Amazon Cloud)-> FDMEE-> planning and budgeting of the Cloud Services

    Please let me know about the opportunity and the necessary measures to be taken for the integration of the data.

    ~ Thank you

    They are separate environments first - an existing one in Amazon Cloud and another within the Oracle offer. Oracle allows not currently SEEP for connections to a system of source book, the only option available is a function file upload.

    I think, in part because they do not want to expose SEEP to the external environments for reasons of maintenance and security.

  • Extract data from Oracle into excel file

    Hello

    I have a requirement where in I need to extract data from Oracle into excel file and the worksheet excel name should be 'given '.
    for example. Excel 'AR Data_DDMMYY' file name and the name of the "Data" sheet excel

    I used the UTL_FILE API to extract the data delimited by tabs that you can open in excel, but it's not exactly an excel file as the name of the worksheet is the same as the name of the file.

    I tried to use utl_file.fcopy and frename.

    Is it possible to do it using PLSQL?

    Select * from version of v$.
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE     10.2.0.5.0     Production"
    TNS for HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Example Code:
    declare
    cursor c is
    select * from scott.emp;
    v varchar2(100);
    f utl_file.file_type;
    
    file_name varchar2(100) := 'AR Data.xls';
    dir varchar2(50) := 'CESDIR191710';
    
    --select * from dba_directories
    
    begin
    
    
    f := utl_file.fopen(dir, file_name, 'W');
    
    v := 'EMPNO'||chr(9)||'ENAME'||chr(9)||'JOB'||chr(9)||'SAL'||chr(9)||'HIREDATE'||chr(9)||'DEPTNO';
    utl_file.put_line(f, v);
    
    for i in c
    loop
    
    v := i.empno||chr(9)||i.ename||chr(9)||i.job||chr(9)||i.sal||chr(9)||i.hiredate||chr(9)||i.deptno;
    utl_file.put_line(f, v);
    
    end loop;
    utl_file.fclose(f);
    
    --utl_file.frename(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls', false);
    utl_file.fcopy(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls');
    
    end;
    Thank you
    Imran

    Hello

    I tried to change the .xlsx to .xls and it gives a note at the opening of the file "the file you are trying to open, abc.xls, is in a different format that it is specified by the file extension. Check that the file is not corrupted and precedes from a trusted source before you open the file. Do you want to open it now? »

    When you rename the file does not solve your problem.
    Anton Scheffer package generates a file in format xlsx Office 2010. When rename you it with the .xls extension, then Office 2010 will give you the warning that the file format does not match the extension.

    but the requirement has to generate excel 2003 file.

    The xml_spreadsheet package writes a format that was introduced with Office 2003, but you must use .xml as extension in other Office 2010 will give you the same caveat.
    To write the real xls version (binary), you can use Apache POI. You will need to import Java classes in your db and write a PL/SQL wrapper. Or you can use one of the options above, writing the output to a windows server and then use Excel to open and save in the required format.

    You must decide whether it is easier to write the binary xls format or to convince the customer to accept other formats that can be opened with Excel.

    Concerning
    Marcus

  • With the help of the socket object to retrieve data from web application without the html files

    I tried to use the socket object to retrieve data from a web application (I just control script version vs version online). So all I want to do is access http://hyle.io/version that returns me the current version of the application (such as a simple string) in order to compare it in my script and then notifies the user accordingly. I have just a few problems using the socket object. I used this code from the Adobe Javascript Tools Guide:


    reply = "";
    conn = new Socket;
    // access Adobe’s home page
    if (conn.open ("www.adobe.com:80")) {
    // send a HTTP GET request
    conn.write ("GET /index.html HTTP/1.0\n\n");
    // and read the server’s reply
    reply = conn.read(999999);
    conn.close();
    }
    

    ... that I then adapted as:

    reply = "";
    conn = new Socket;
    if (conn.open ("hyle.io:80")) {
      conn.write ("GET /version HTTP/1.0\n\n");
      reply = conn.read(999999); 
      conn.close();
    }
    

    And here is what I get:

    HTTP/1.1 400 Bad Request
    Content-Length: 225
    Content-Type: text/html
    Server: Pagodabox-Routing-Mesh
    
    

    Bad Request

    Your browser sent a request that this server could not understand.

    Résultat : true

    I don't know a lot about HTTP requests, but I wondered if it was related to the fact that I am not pointing to a specific HTML file and the type of request was wrong or if I should rather check if there is something wrong with my host?

    The site/app is PHP and is hosted on PagodaBox if it helps.

    Thanks in advance!

    Hi Sebastien Lavoie,

    It should work

    var HTTPFile = function (url, port) {}

    If (arguments.length == 1) {}

    URL = arguments [0];

    port = 80;

    };

    This.url = url;

    This.port = port;

    this.httpPrefix = this.url.match(/http:\/\//);

    This.Domain = this.httpPrefix is nothing? This.URL.Split("/") [0] + ":" + this.port: this .url .split ("/") [2] +":" + this.port;

    This.Call = ' GET ' + (this.httpPrefix == null? ' "). " http://" (+ this.url: this.url) + "HTTP/1.0\r\nHost: ' + (this.httpPrefix is nothing? "This.URL.Split("/ ") [0]: this .url .split (" / ") [2]) +" \r\nConnection: close\r\n\r\n ";

    This.Reply = new String();

    This.Conn = new Socket();

    This.Conn.Encoding = "binary";

    HTTPFile.prototype.getFile = {function (f)}

    var typeMatch = this.url.match(/(\.) (\w{3,4}\b)/g);

    If (this.conn.open (this.domain, "binary")) {}

    This.Conn.Write (this.) Call);

    This.Reply = this.conn.read (9999999999);

    This.Conn.Close ();

    } else {}

    This.Reply = "";

    }

    (Return this.reply.substr(this.reply.indexOf("\r\n\r\n")+4);

    };

    }

    Hyle var = new HTTPFile ("http://hyle.io/version");

    Alert (hyle. GetFile());

    And by the way, I like the idea of 'http://hyle.io'. Can you give me your email address, I want to learn more about this Web site.

    Please send me an email to [email protected]

  • How to transfer data from oracle to the web service using ODI with axis2 tech

    Hi all

    Can someone cause a document or markets about 'How to transfer data from oracle to the web service with the help of ODI with AXIS2 technology'
    If any person with a document or markets, please share it with me

    Thank you
    Phani

    I can give you a few examples of web services in ODI, perhaps that you find them useful?
    Try: -.
    http://John-Goodwin.blogspot.com/2009/04/ODI-series-Web-services.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-3.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-4.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • SOS! -Error to load data from Oracle 11 g to Essbase using ODI

    Hi all.

    I want to load data from oracle database to essbase using ODI.
    I have set up correctly the Hyperion essbase physical and logical topology manager and got the structure ESSBASE BASIC app DEMO.
    The problem is.
    1. when I try see data right click on the table of essbase.
    va.sql.SQLException: driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jc.bE (jc.java)
    at com.sunopsis.graphical.frame.bo.bA (bo.java)
    at com.sunopsis.graphical.frame.b.ja.dl (ja.java)
    to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
    to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
    I got the answer of partisan Oracle it's ok, just omit it. The second problem will appear.
    2 create an interface between the oracle and essbase database, click on the option ' staging of deffirent from the area of the "(ce qui signifie que la mise en scène est créé à la base de données oracle) target, and using IKM SQL for Hyperion Essbase (metadata), run this interface".

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    "< String >" file, line 61, in there?
    com.hyperion.odi.essbase.ODIEssbaseException: invalid value specified [RULES_FILE] for the load option [null]

    at com.hyperion.odi.essbase.ODIEssbaseMetaWriter.validateLoadOptions (unknown Source)

    at com.hyperion.odi.essbase.AbstractEssbaseWriter.beginLoad (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at org.python.core.PyReflectedFunction.__call__ (PyReflectedFunction.java)

    at org.python.core.PyMethod.__call__ (PyMethod.java)

    at org.python.core.PyObject.__call__ (PyObject.java)

    at org.python.core.PyInstance.invoke (PyInstance.java)

    to org.python.pycode._pyx1.f$ 0 (< string >: 61)

    to org.python.pycode._pyx1.call_function (< string >)

    at org.python.core.PyTableCode.call (PyTableCode.java)

    at org.python.core.PyCode.call (PyCode.java)

    at org.python.core.Py.runCode (Py.java)

    at org.python.core.Py.exec (Py.java)



    I am very confused by it. Someone give me a solution or other docs.

    Ethan.

    Hello

    You say that you are loading, but you chose the KM for the loading of metadata?
    If you load metadata then you must provide a rules file, if you are loading and then choose the KM - IKM SQL for Hyperion Essbase (DATA)

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • retrieve data from staging account

    Hello

    does anyone know how we can retrieve data from staging of account using 'Segmentation Wizard', "report analysis tool", model of fusion and mailing, etc.?

    Seems that these tools connect only to the production instance...

    Thanks, Sab

    SAB,

    for segmentation Wizard (and perhaps other office files), you will have to go file - properties - Custom and update the values for the name of pod, if you have a job you know what value it is as I am not "have a practice to watch.

    see you soon
    Alex

  • ODI or FDM to extract data from Oracle ERP

    I want to extract data directly from Oracle ERP GL module in HFM. I use ERPi and ODI. Should I also use FDM to retrieve the data, or if I can load data in HFM using just ERPi and ODI?

    I finished the configuration of the ERPi and I am currently in the process of installation and configuration ODI.

    All entries on the best practices that I have to follow during the configuration of ODI?

    You don't need to use FDM. ERPI can load directly to HFM as a stand-alone product and you still get the feature drillback. Use FDM, if you need additional features that offers for example validation of intersection, to check the reports, logic etc.

  • Retrieve data from AddressBook for Webworks Smartphone

    Hi all
    I want to implement the address book API. Where can I get/retrieve data (phone number, address of E-mail etc) for my Application project.
    Is it possible to invoke the address book to recover data?

    I go through this link, but it did not help me https://developer.blackberry.com/html5/apis/blackberry.invoke.addressbookarguments.html#view

    I have searched several times but could not get a code to make it possible.
    Please help me if someone know the solution or have any sample code.

    Thank you best regards &,.
    Castillo

    Its seems quite surprising that no member of this forum suggests even a single code related to this problem...

    However, I still have more research and find the alternative.

    var contactResult = new Array();
    
    var Fname = new blackberry.find.FilterExpression("firstName", "!=", "");
    
        contactResult = blackberry.pim.Contact.find(Fname);
        for ( var i = 0; i < contactResult.length; i++) {
            var totalName = contactResult[i].title+ " "+ contactResult[i].firstName+ " "+ contactResult[i].lastName;
            }
    

    This will retrieve all data or contacts from the address book. For which I have to do a custom address book.

  • SQL to retrieve data from the day before

    Hello

    I am asked to collect intelligence data and generate a daily report to determine the success rate (to do daily data that determines success rate). I have a session_time of column (with the DATE data type) that I try to do the job. I've been using:

    Select * from ABC

    where session_time > = TRUNC (SYSDATE - 2)

    Gives me data, but I get the data from 26/10/14 and 10/28/14 so when I only need data on 27-10-14 (as of the day 28/10/14). I tried a few variations and did not get the expected result. Could someone please help me understand this? Time is also displayed in my outings, maybe I shouldn't include the time?

    I use: TOAD for Oracle 11.5.1.2.

    Oracle Database 11g Enterprose 11.2.0.1.0 Edition

    Thank you in advance.

    Hello

    2632048 wrote:

    Hello

    I am asked to collect intelligence data and generate a daily report to determine the success rate (to do daily data that determines success rate). I have a session_time of column (with the DATE data type) that I try to do the job. I've been using:

    Select * from ABC

    where session_time > = TRUNC (SYSDATE - 2)

    Gives me data, but I get the data from 26/10/14 and 10/28/14 so when I only need data on 27-10-14 (as of the day 28/10/14). I tried a few variations and did not get the expected result. Could someone please help me understand this? Time is also displayed in my outings, maybe I shouldn't include the time?

    I use: TOAD for Oracle 11.5.1.2.

    Oracle Database 11g Enterprose 11.2.0.1.0 Edition

    Thank you in advance.

    Use:

    SELECT *.

    ABC

    WHERE session_time > = TRUNC (SYSDATE) - 1

    AND session_time<  trunc="">

    ;

    It's 09:15 on October 28, 2014, then TRUNC (SYSDATE - 2) is 00:00:00 October 26; The query you posted became data of October 26 and later.  (You may not all future dates in your table.)

    If it's 09:15 October 28, then TRUNC (SYSDATE) is 00:00:00 October 28 (i.e., midnight, at the beginning of October 28) and TRUNC (SYSDATE) - 1 is 00:00:00 October 27.

    Do not be tempted to use

    WHEN TRUNC (session_time) = TRUNC (SYSDATE) - 1 * INEFFECTIVE!  ***

    It will get the same results, but it is slower, you cannot use an index on session_time and requires a call to separate function for each row in the table, it is selected or not.

  • retrieve data from webcenter content to ADF

    Hi all

    I want to recover data from webcenter content to pages in the adf. How can I do?

    Well, you can use RIDC API for this.that is best suited

    see this

    http://www.techartifact.com/blogs/2013/05/How-to-connect-with-UCM-in-ADF-using-RIDC-API.html

    Oracle Fusion Middleware Flavius Búrca Blog: integration Oracle UCM 11 g RIDC WebCenter/ADF 11 g

Maybe you are looking for

  • Question GPU MBP 17 beginning 2011

    I had a GPU on Dec 2015 problem fixed by Apple centre service for free. The same problem came back on July 2016. Apple cover it or do I have to pay? * The program covers the MacBook Pro models affected until 31 December 2016 or four years from the da

  • Send a cc to someone again, not in the address book

    How can I send a cc or bcc to recipient I can type?

  • Urgent: HP G62 nine Auto Shutdown

    I bought brand new HP laptop G62 his job very well 3 or 4 times when I start the beginning of fan for sleep mode and never stops, then after a few minutes is shut down automatically without asking or are preparing to close an idea?

  • Broken link on the HP website

    Link on the HP site for the download of HP Vision diagnostic Offline Edition for CD (sp54770) does not work. Where else can that be available?

  • Device control series with i/o board?

    I have serial (RS232), I want to control a device with Labview.  It works fine when connected directly to the serial port of a computer, but I want to control it on a computer that does not have a serial port.  This second computer has a CB-68LPR i/o