Recovering  a table data

Hi,
Oracle version:10.2
Operating system : linux
Can we flashback a table-data when the table was truncated.Is there any flashback option to get back the data.
Here my database is in noarchive mode.
Regards.
Poorna

Hi!
Point-In-Time recovery is not possible for you because your database runs in NOARCHIVELOG mode. But I'll try to tell you what to do to get your data back. For this I assume that you have a full cold backup of your database. Otherwise there will be no chance to get your table back.
1.) Copy your backup to another host with the same operating system as your production DB runs on.
2.) Install the Oraclesoftware like you did on your production host.
3.) Copy your SPFILE to $ORACLE_HOME/dbs
4a.) If you have a RMAN backup restore and recover it like that:
rman target /
startup force nomount;
CATALOG BACKUPPIECE '/path_to_your_backup/name_of_your_backuppiece';
RESTORE controlfile;
SQL 'ALTER DATABASE MOUNT';
RESTORE database;
RECOVER database NOREDO;
SQL 'ALTER DATABASE OPEN RESETLOGS';
exit4b.) If you have a user managed backup please restore it by your self as I do not know what kind of backup it is.
5.) Export the truncated table from the recovered database. And please be sure to replace the string "truncated_table" with the correct name of the table you have truncated.
expdp system/password DUMPFILE=trunc_table.dmp DIRECTORY=data_pump_dir TABLES=truncated_table6.) Copy the dumpfile to your production host.
7.) Reimport the dump into your production DB.
impdp system/password DUMPFILE=trunc_table.dmp DIRECTORY=data_pump_dir TABLES=truncated_table TABLE_EXISTS_ACTION=replaceI hope that this will help you a long with your problem.
Good luck.
Florian W.

Similar Messages

  • Recover droped table

    Hi all
    one of my system table DBA_ROLE_PRIVS is droped from my client site
    how can i recover that "FLASHBACK TABLE DBA_ROLE_PRIVS TO BEFORE DROP" then message display object does not exist in recycle bin,
    please help me how can i recover this table.

    Technology wrote:
    Hi all
    one of my system table DBA_ROLE_PRIVS is droped from my client site
    how can i recover that "FLASHBACK TABLE DBA_ROLE_PRIVS TO BEFORE DROP" then message display object does not exist in recycle bin,
    please help me how can i recover this table.You can not use FLASHBACK TABLE feature for data dictionary tables.You have to restore and recover database.
    And DBA_ROLE_PRIVS is not a table that is data dictionary view.
    Edited by: Chinar on Jan 17, 2011 10:52 PM

  • MaxDB Recovery - Table Data Recovery Failed

    Dear All,
    I'm trying to simulate the backup and recovery functionality of MaxDB by using Database Studio.
    This is what I've done so far,
    1) Create dummy table with data inside.
    2) Performed a complete backup.
    3) Performed log backup.
    4) Removed all the data within the dummy table.
    5) Performed a complete recovery of data and log backup.
    However, the table is still empty after recovery.
    Does this means that the recovery failed? Or the backup?
    There is no error message or whatsoever during the backup and recovery.
    I did some research and found some information about MaxDB recovery considerations, whereby it states that "recovering individual tables is not possible."
    Is that what causes it?
    Please advise further.
    Many thanks in-advance!

    > I did some research and found some information about MaxDB recovery considerations, whereby it states that "recovering individual tables is not possible."
    >
    > Is that what causes it?
    Nope. Single table recovery is not supported by any relational database - at least not the way that you'd like it to.
    The reason for that is not the technical implementation of data storage, but simple the way how relational databases have their data distributed over all the tables.
    Due to normalization you usually have a huge number of dependencies between the rows of multiple tables.
    Joined together these rows form your application information.
    If you would restore just one table, the dependencies between this  table and all the other tables would be broken.
    The database management software cannot repair it so you would have to manually ensure that the restored table still fits to the rest of the database.
    THAT is the reason why you always restore databases and not tables.
    If you're thinking now: Wait, what about things like Oracles table flashback/flashback query then?
    Well, these features do produce the mentioned inconsistencies as well, if applied to only one of the tables.
    And they are actually no recovery tools.
    Hope that clarifies your question.
    Always try to get your database back to a consistent state!
    regards,
    Lars

  • Recover Updated table

    Hi all
    I have updated a table, some information was deleted. How can I recover the table as it was before update.
    I have a backup tape with the information before update so I don't know how import it back.
    Best regards
    BJ Moloya

    If you have a exported backup of this table then use that.
    In 9i Undo tablespace features can be utilized to see what was the old data through the following steps. Example you want to see what was the data 10 minutes back i.e 10/1440 days then,
    conn system/pwd
    execute dbms_flashback.enable_at_time(sysdate-10/1440);
    select the records now and see 10 minutes old data
    execute dbms_flashback.disable;
    You cannot do any further update/delete/insert while in flashback mode. You can select only.
    To see more historical data then set the undo_retention time to high value.
    Sami Malik
    [email protected]

  • Create XML file from table data

    Dear All,
    with dataservice 4.0, I want to create an XML file from a table data.
    Table have a single column but more record, for example:
    0001000488;100;EUR;
    0001000489;200;EUR;
    0001000450;300;EUR;
    My desired XML output:
    <Data>
      0001000488;100;GBP;
      0001000489;200;EUR;
      0001000450;300;EUR;
    </Data>
    I try with a sample query but the sistem write only the last record in XML file:
    <Data>
      0001000450;300;EUR;
    </Data>
    Can everyone help me?
    Thank in advance.
    Simone

    Hello
    That is a very simple (also odd) XML document structure, and as such doesn't require use of the XML target.  It can be easily acheived by writing a normal file with a header and footer, which is acheived using a row_generation and a query to generate the hard coded open and close tags.
    Michael

  • Table data does not refresh

    Using LV2010.
    A table displays the test configuration that has been selected by the user.  This appeared to work fine until recently. 
    Nothing in that area of the code has changed .
    The issue is that although valid data exists on the wire and it even gets written to file, nothing is displayed in the table.
    The operator can click multiple times and nothing is displayed.  Even when running with highlight execution turned ON, the table does not get refreshed.
    Unfortunately, each time the operator click the button to insert the configuration, it does.  But it is not displayed.  The same list goes to the table.  You would expect the subsequent attempts would cause all the items to be displayed when it finally does, but no... only the last selection gets displayed.
    I've recently taken over the project and did notice that a previously working feature was not working.  That feature was to allow multiple selections to be inserted at once.  I suspect the feature still workes, but the table only displays a single line of data.
    I did find a thread that started to discuss a similar behavior with a link to a description of the bug, but that page appears to have dissappeared from the website.  It was discussed in 2005.
    Is there a way to force a refresh display on a table?  Another thought... Could it be that the table is displaying data from a portion further down the list which makes it appear as if there is no data?  As I said earlier, this section of code was not touched and it is the only area where the table data is updated and the display refreshed..
    Has anyone else seen this behavior?
    As can be seen above, the probe does "see" the data on the wire.  The screen capture was taken after the data flow had completed the entire state. The wire itself claims to have a 2D array of 1 X 11 elements.  Normally, this data would be displayed.  I can't think of why it wouldn't be displayed.  If I could, I wouldn't be posting this.. 
    I am curious if this is a LV bug...
    Attachments:
    TableDataInvisible.PNG ‏21 KB

    You know me & locals... 
    Plus the property node was used for something else.
    I fear using the VI Analyzer would... well... euh..  hummm...  how to say this,...
    blow up.. 
    LOL!! 

  • Unable to display table data in Review View

    Hi Experts,
    I have one main view and one review View .In my main view i have one table (Normal Table) and several other input feilds and text views....
    If i click on review button in my main view, am able to see all the data in review view except table data.
    How can i get the table data which i have entered in main view.. the same should display in review view.
    I binded the same node in both main and review. and node is defined under component controller.
    Any ideas?
    Regards
    Farooq.

    Hi,
    I think you already binded in review view also with same node. right? So data will move automatically and display in
    review view also. In WDDOINIT of review veiw read data from that node and use bind_Table.
    Cheers,
    Kris.

  • How to loop and read repeating table data of infoPath form in Visual studio workflow.

    Hi,
    I am trying to read info Path form repeating table data in Visual studio workflow.
    could anyone elaborate me in brief how to loop through repeating table and read all rows value one by one in workflow.
    any help would be more then welcome. 
    Thanks...

    Hi Rohan,
    According to your description, my understanding is that you want to create a Visual Studio workflow to get data from info path repeating table.
    I suggest you can submit Repeating Table to a SharePoint List and then you can create a .NET workflow to read data from the SharePoint List.
    Here are some detailed articles for your reference:
    Codeless submitting InfoPath repeating table to a SharePoint list
    Create a Workflow using Visual Studio 2010
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Excel issues with importing CSV or HTML table data from URL - Sharepoint? Office365?

    Greetings,
    We have a client who is having issues importing CSV or HTML table data as one would do using Excel's Web Query import from a reporting application.  As the error message provided by Excel is unhelpful I'm reaching out to anyone who can help us begin to
    troubleshoot problems affecting what is normal standard Excel functionality.  I'd attach the error screenshot, but I can't because my account is not verified....needless to say it says "Microsoft Excel cannot access  the file https://www.avantalytics.com/reporting_handler?func=wquery&format=csv&logid=XXXX&key=MD5
    Where XXXX is a number and MD5 is an md5 code.  The symptoms stated in the error message are:
    - the file name or path does not exist
    -The file is being used by another program
    -The workbook you are trying to save has the same name as a currently open workbook.
    None of these symptoms are the case, naturally. The user encountered this with Excel2010, she was then upgraded to Excel2013 and is still experiencing the same issue. The output of this URL in a browser (IE, Chrome, Firefox) is CSV data for the affected
    user, so it is not a network connectivity issue.  In our testing environment using both Excel2010 or 2013 this file is imported successfully, so we cannot replicate.  The main difference I can determine between our test environment and the end-user
    is they have a Sharepoint installation and appear to have Office365 as well.
    So,  my question might more appropriately be for Sharepoint or Office365 folks, but I can't be sure they're  a culprit.  Given this - does anyone have any knowledge of issues which might cause this with Sharepoint or Office365 integrated with
    Excel and/or have suggestions for getting more information from Excel or Windows other than this error message?  I've added the domain name as a trusted publisher in IE as I thought that might be the issue, but that hasn't solved anything.  As you
    can see its already https and there is no authentication or login - the md5 key is the authentication.  The certificate for the application endpoint is valid and registered via GoDaddy CA.
    I'm at a loss and would love some suggestions on things to check/try.
    Thanks  -Ross

    Hi Ross,
    >> In our testing environment using both Excel 2010 and 2013 this file is imported successfully, so we cannot replicate.
    I suspect it is caused by the difference of web server security settings.
    KB: Error message when you use Web query to a secure Web page (HTTPS://) in Excel: "Unable to open"
    Hope it will help.
    By the way, this forum is mainly for discussing questions about Office Development (VSTO, VBA and Apps for Office .etc.). For Office products feature specific questions, you could consider posting them on
    Office IT Pro forum or Microsoft Office Community.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help for Adding table data to list

    Dear Folk,
    How can i add table data to a list. I tried following but not successfull
    Populate_List('OTHER.GROUPLIST', 'GROUP_LIST');
    Help me..

    V_RECORDGROUP :=FIND_GROUP(I_RECORDGROUPNAME);
    V_QUERY:='SELECT data FROM tablea';
    V_RECORDGROUP :=CREATE_GROUP_FROM_QUERY(I_RECORDGROUPNAME,V_QUERY);
    V_TEMP:=POPULATE_GROUP(V_RECORDGROUP);
    POPULATE_LIST(I_ITEM_NAME,V_RECORDGROUP);

  • Can we delete the archived RS tables data in unix path?

    Hi Experts
    As you all know that when we perform RS table archiving we setup a Logical file path 'ARCHIVE_GLOBAL_PATH' pointing to the physical path '/usr/sap/<SYSID>/SYS/global/<FILENAME>' in unix system.
    Here we have our RS table data in the unix path and this logical path will make sure that there are no problems with requests status.
    Now our unix path has grown in size hence we would like to delete some archived data from this path. Could you pls confirm if we delete the data from this unix path will there be any problems with the requests status?
    Simply can we delete the RS table archived data from the unix file path??
    Thanks!!

    Hi All
    Any idea about this would be appreciated.
    Thanks!!

  • Problem with pl/sql table data type

    hai friends,
    i have one procedure it has some in parameters and one out parameter which fetches values to front end.
    But the out parameter will be pl/sql table data type.
    if it is ref cursor
    then i declared as
    var x refcursor;
    exec procedure_name(1,:x);
    it is ok.
    but for pl/sql table data type is out parameter then what i will do in the prompt .
    give me syntax and clarify my doubt.
    advanced thanks...
    madhava

    The SQL*Plus VARIABLE statement does not support user-defined types, hence it cannot support nested tables. It can support cursors because they can be weakly typed (so we can use the one SQL*Plus VAR to hold any shape of resultset). Nested tables are strongly typed; SQL*Plus is a relatively stupid interface and cannot be expected to understand UDT.
    So, it you want to use nested tables as output you'll need to code a wrapping procedure that can understand your nested table type and handle it accordingly.
    Sorry.
    Cheers, APC

  • Passing table data to pl sql procedure oaf

    Hi All,
    I have a requirement where i have to pass table data to plsql procedure.
    In the first page i select the REQUISITION and click on RETURN button and it will take me to the next page.
    and in the Next page i will click on APPLY button.
    When i click on APPLY, it will call the procedure and will give input to the procedure whatever has been selected when i have selected requisition.
    Please help. Please tell me the approach how to get this task done. A sample code will work.
    Hope the requirement is clear.
    Thanks in Advance.

    Hi Chinmay,
    Refer below code for Your Requirement.
    //Code For Quering Data
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    Connection conn = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
    String Query = "SELECT organization_id FROM hr_operating_units WHERE organization_id = fnd_global.org_id";
    PreparedStatement stmt = conn.prepareStatement(Query);
    resultset=stmt.executeQuery();
    while (resultset.next())
    orgId = (String)resultset.getString("ORGANIZATION_ID").toString();
    conn.commit();
    catch(Exception e)
    e.printStackTrace();
    //Code for Pass Resulted column to Procedure Input for delete Particular Record
    Execute parameterized PL SQL procedure from OAF page
    Let us try to call PL/SQL package from OAF page. We will try to remove selected line from Database.
    Package Spec
    CREATE OR REPLACE PACKAGE APPS.genpack_pkg
    AS
    PROCEDURE roll_delete_proc (orgId IN VARCHAR2);
    END genpack_pkg;
    Package Body
    CREATE OR REPLACE PACKAGE BODY APPS.genpack_pkg
    AS
    PROCEDURE roll_delete_proc (orgId IN VARCHAR2)
    AS
    BEGIN
    DELETE FROM pklist_roll_details_temp
    WHERE roll_line_id = orgId;
    COMMIT;
    END roll_delete_proc;
    END genpack_pkg;
    //in Controller PFR
    import java.sql.CallableStatement;
    if (pageContext.getParameter("ActionsButton") != null)
    String val = pageContext.getParameter("ActionsChoice");
    if ("DELLN".equals(val))
    CallableStatement cstmt = null;
    for (OAViewRowImpl row = (OAViewRowImpl)tempvo.first(); row != null; row = (OAViewRowImpl)tempvo.next()) {
    if ((row.getAttribute("Selectflag") == null) ||
    (!row.getAttribute("Selectflag").toString().equals("Y"))) continue;
    try {
    int rollid = Integer.parseInt((String)row.getAttribute("orgId"));
    Connection conn = am.getOADBTransaction().getJdbcConnection();
    if (rollid == 1)
    temphm.put(row.getAttribute("orgId").toString(), row.getAttribute("PoNumber").orgId());
    tempvo.removeCurrentRow();
    else
    try
    StringBuilder sb = new StringBuilder();
    sb.append(rollid);
    String strI = sb.toString();
    System.out.println("Inside else in delete");
    cstmt = conn.prepareCall("{call GENPACK_PKG.tpc_roll_delete_proc(?)}");
    cstmt.setString(1, strI);
    System.out.println("Oracle Callable Statment Execution Init for Delete");
    cstmt.execute();
    catch (SQLException e) {
    throw new OAException(e.toString(), (byte)0);
    }tempvo.removeCurrentRow();
    catch (OAException e) {
    throw new OAException("No row selected", (byte)3);
    Thanks,
    Dilip

  • To export and import oracle 11g table data only

    Hi Gurus,
    Just not sure of the procedure to follow in the export just the table data and then truncate the table do some changes(not table structure changes ) and then import the same table data in to the relevent table .
    Could some please help me in the setps involved in it .
    Thanks a Lot in advance

    If you can use Data Pump, here are your commands:
    expdp table_owner/password directory=<your_directory> dumpfile=table_name.dmp tables=table_name content=data_only
    impdp table_owner/password directory=<your_directory> dumpfile=table_name.dmp tables=table_name table_exists_action=append
    Data Pump requires version 10.1 or later.
    Dean

  • PO ref i need Table Data from GR,IR & Account Document Numbers

    Hi Fi/Co Family Please give me valuable suggestion ,
    Through PO Number we will get GR Number in TC: ME23, how can I get from table data with reference PO to GR, IR and Accounting Document Numbers.
    Regards,
    Venkat

    hi
    if ur problem is to find the document number only, then go to tcode me23n and give ur PO number and click on PO history tab on item details.
    hope it works.award if useful.

Maybe you are looking for

  • Billing Output Access Sequence behaving differently in VF01 Vs VF02

    Hi All, Scenario: For RD00 output  from G2 Credit memos there is a customised access sequence. At the top as a first sequence a new table was added with fields as  Sales Org/Billing Types/ Billed-to/ Order Reason. All the required changes to add 'ord

  • My iphone 4 is stuck only showing an apple with a black screen

    what should i do?

  • Problem with MTO scenario-urgent

    hi everyone, our client is using MTO process, where they will exchange halb materials for the fert level production order. i.e according to MTO sales order will trigger procurement seperately at all levels of bom( as sales order stock). what is happe

  • Summary of DBXML 2.3.10 indexes

    We are running performance tests on our DBXML 2.3.10 database. There is still some question as to indexing numbers. Could someone briefly summarize the options? I don't think this is well documented (I could be wrong). For example: 1. Integers - Ther

  • WSRM Configuration Issues-Need Urgent Help

    Dear Experts, we are configuring WSRM between TM 9.0 and ERP 606 systems. we have followed the document from the SAP note 1043195. we have completed the technical configuration. we are facing issues in application configurations. 1.       When we hav