How to recover a table from a coldback?

Hi:
I was asked in an interview. if a user deleted a table, how to recover it from a coldback? Please give me the steps.
Thank you and regards.

1. Take a cold backup of the current database.
2. Restore the full old backup from tape/disk etc.
3. Oracle Export the table that needs recovering.
4. Shutdown the database.
5. Restore the database from the first step.
6. Start the database.
7. Oracle Import the table from the third step.
Hope this helps.
Best regards,
Mark.

Similar Messages

  • How can we copy table from one schema to other schema

    Hi,
    I have create one table in one schema and i want to copy it to other schema.How we can copy table from one schema to other schema

    Hi,
    You can try something like this :-
    SQL> CONNECT SYS/SYS123@SERVER AS SYSDBA
    Connected.
    SQL> CREATE USER TEST_1 IDENTIFIED BY TEST_1;
    User created.
    SQL> CREATE USER TEST_2 IDENTIFIED BY TEST_2;
    User created.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_1;
    Grant succeeded.
    SQL> GRANT CONNECT,RESOURCE,DBA TO TEST_2;
    Grant succeeded.
    SQL> CONNECT TEST_1/TEST_1@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY ( TEST_COL NUMBER );
    Table created.
    SQL> INSERT INTO TEST_COPY VALUES ( 1 );
    1 row created.
    SQL> INSERT INTO TEST_COPY VALUES ( 2 );
    1 row created.
    SQL> COMMIT;
    Commit complete.
    SQL> GRANT ALL ON TEST_COPY TO TEST_2;
    Grant succeeded.
    SQL>  CONNECT TEST_2/TEST_2@SERVER
    Connected.
    SQL> CREATE TABLE TEST_COPY AS SELECT * FROM TEST_1.TEST_COPY;
    Table created.
    SQL>  SELECT * FROM TEST_COPY;
      TEST_COL
             1
             2Regards,
    Sandeep

  • How can i import tables from a different schema into the existing relational model... to add these tables in the existing model? plss help

    how can i import tables from a different schema into the existing relational model... to add these tables in the existing relational/logical model? plss help
    note; I already have the relational/logical model ready from one schema... and I need to add few more tables to this relational/logical model
    can I import the same way as I did previously??
    but even if I do the same how can I add it in the model?? as the logical model has already been engineered..
    please help ...
    thanks

    Hi,
    Before you start, you should probably take a backup copy of your design (the .dmd file and associated folder), in case the update does not work out as you had hoped.
    You need to use Import > Data Dictionary again, to start the Data Dictionary Import Wizard.
    In step 1 use a suitable database connection that can access the relevant table definitions.
    In step 2 select the schema (or schemas) to import.  The "Import to" field in the lower left part of the main panel allows you to select which existing Relational Model to import into (or to specify that a new Relational Model is to be created).
    In step 3 select the tables to import.  (Note that if there are an Foreign Key constraints between the new tables and any tables you had previously imported, you should also include the previous tables, otherwise the Foreign Key constraints will not be imported.)
    After the import itself has completed, the "Compare Models" dialog is displayed.  This shows the differences between the model being imported and the previous state of the model, and allows you to select which changes are to be applied.
    Just selecting the Merge button should apply all the additions and changes in the new import.
    Having updated your Relational Model, you can then update your Logical Model.  To do this you repeat the "Engineer to Logical Model".  This displays the "Engineer to Logical Model" dialog, which shows the changes which will be applied to the Logical Model, and allows you to select which changes are to be applied.
    Just selecting the Engineer button should apply all the additions and changes.
    I hope this helps you achieve what you want.
    David

  • How to get internal table from SAP Data Provider C#

    Hello.
    ABAP:
       DATA: lt_t001 TYPE TABLE OF t001.
       DATA: url(1000) TYPE c.
      SELECT * INTO TABLE lt_t001 FROM t001.
      CALL FUNCTION 'DP_CREATE_URL'
        EXPORTING
          type                 = 'APPLICATION'
          subtype           = 'X-R3TABLE'
        TABLES
          data                 = lt_t001
        CHANGING
          url                    = url
        EXCEPTIONS
          OTHERS           = 4.
    C#:
    using SAPDataProvider;
    using SAPTableFactoryCtrl;
    public void SetDataFromUrl(string url)
                SAPDataProviderClass p = new SAPDataProviderClass();
                p.SetDataFromURL("APPLICATION", "X-R3TABLE", url);
                ISapDPR3Table tbl = p.GetDataAsR3Table("APPLICATION", "X-R3TABLE");
                SAPTableFactoryClass tf = new SAPTableFactoryClass();
                Table tb = (Table)tf.NewTable();
                tb.ISAPrfcITab = tbl.DataTable; // Exception !!!!!!
    How to get internal table from SAP Data Provider ?

    Hi Sergey,
    I'm trying to do the same, have you found a solution to solved it?
    thanks for your help.
    Regards.
    Jonathan

  • Hey guys i just wanna ask you if you know any way how to recover pics deleted from my camera rol and photo stream, i deleted accidentally without backing it up on icloud, any ideas how i can get it back

    hey guys i just wanna ask you if you know any way how to recover pics deleted from my camera rol and photo stream, i deleted accidentally without backing it up on icloud, any ideas how i can get it back

    If you deleted them from both PhotoStream and the camera roll, and you don't otherwise have them backed up, they're gone.

  • How to recover the mailboxes from the decommissioned exchange db .

    Hello All,
    I have 2 EDB files on my exchange server which is no longer active its been decommissioned and the EDB mailbox is dismounted, 
    I would like to recover few emails/mail boxes from the EDB file and am not able to find any free tool which can help me in recovering the emails, 
    1. How to recover the mailboxes from the decommissioned exchange db 
    2.Tried using from free 3rd party tools which helped me view the mail boxes however am  unable to convert or recover the emails using the demo/ trial version and cant think of buy/purchasing the application since its very expensive $299 and $399 
    I know there are lot of exchange gurus here who can help me with some workaround in recovering the mailboxes from the EBD or on how to convert the edb file to pst 
    Looking forward to get some help from exchange gurus 
    Thanks, 
    Jean
    Jean

    Hello All,
    I have 2 EDB files on my exchange server which is no longer active its been decommissioned and the EDB mailbox is dismounted, 
    I would like to recover few emails/mail boxes from the EDB file and am not able to find any free tool which can help me in recovering the emails, 
    1. How to recover the mailboxes from the decommissioned exchange db 
    2.Tried using from free 3rd party tools which helped me view the mail boxes however am  unable to convert or recover the emails using the demo/ trial version and cant think of buy/purchasing the application since its very expensive $299 and $399 
    I know there are lot of exchange gurus here who can help me with some workaround in recovering the mailboxes from the EBD or on how to convert the edb file to pst 
    Looking forward to get some help from exchange gurus 
    Thanks, 
    Jean
    Jean
    Hello,
    There are so many third party software available in Web that can easily fix your Exchange Database issues, you can check out such  a software from here http://www.exchangerecoverytools.org . By using this software (Kernel for Exchange Server Recovery),
    you can immediately repair and convert damaged EDB to PST files.

  • How can I copy tables from Numbers to Pages without formula?

    hi everyone
    i need help
    How can I copy tables from Numbers to Pages without formula in the cells?

    Ok... I see your problem... when pasting into Pages, the formulas from Numbers are included. Perhaps this is really more of a Pages question (in which case I'm far from expert). A couple of ideas:
    • In Pages, try "Edit"/"Paste and Match Style", which may insert tab delimited cell values (no formulas). Then, if you want the table format back, select these newly pasted tabbed values and use Page's "Format"/"Table"/"Convert Text to Table"/
    • In Numbers, before copying, make a temporary table of the plain values first, then copy and paste that into Pages. To do this, select the range of cells you desire in the Numbers and "Edit"/"Copy". Then "Edit"/"Deselect All" and "Edit"/"Paste Values" and "Edit"/"Cut". Now just a table of values is on the clipboard and you can head over to Pages to paste.

  • How to read a table from one host to other host

    Hi Everybody,
    How to read a table from one host to other host.
    For Example,
    a/a@abcd - host 1
    b/b@xyz - host 2
    suppose im having a table called emp in a/a@abcd
    i want to read the table emp in b/b@xyz
    how to do this.??
    I know that we have to create a dblink...after that how to proceed.
    Plz help..
    Thanks in Advance,
    Gita

    connected as scott/tiger@test
    SQL>
    CREATE DATABASE LINK local
    CONNECT TO admin IDENTIFIED BY pinnet
    USING 'pinnet';
    Database link created.
    sql>
    select count(*) from
    users@local;
    COUNT(*) 
    16
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to display multiple tables from database using netbeans swing gui

    plz reply asap on how to display multiple tables from database using netbeans swing gui into the same project

    Layered Pane with JTables or you can easily to it with a little scripting and HTML.
    plzzzzzzzzzzzzzzzzz, do not use SMS speak when posting.

  • How to Create adf table from java bean

    Hi,
    How to Create adf table from java class (Not from ADF BC).
    Thanks
    Satya

    @vlsn -- you have to follow what shay said.
    Do the following in Model layer ::
    create a table property java class with your columns setters and getters like :
    *public class gridProps {*
    private int sno;
    private String orderNum;
    *public void setSno(int sno) {*
    this.sno = sno;
    *public int getSno() {*
    return sno;
    *public void setOrderNum(String orderNum) {*
    this.orderNum = orderNum;
    *public String getOrderNum() {*
    return orderNum;
    Create another table java class which will populate the values to your column values and return the collection :
    *public class gridPopulate {*
    private  List<gridProps> gridValues ;
    *public List<gridProps> setToGrid(ArrayList<ArrayList> valuesToSet) {*
    *if (valuesToSet == null) {*
    return gridValues;
    gridValues = new ArrayList<gridProps>();
    if(btnValue.equals("completeBtn"))
    return gridValues;
    for(ArrayList<String> tempArr:valuesToSet)
    gridProps gp = new gridProps();
    gp.setSno(Integer.valueOf(tempArr.get(0)));
    gp.setOrderNum(tempArr.get(1));
    return gridValues;
    Right click gridPopulate class and create this as data control.This class will be seen in Data control list.Under this data control,Drag the grid property collection(created earlier) to your page.Then execute your binding(gridPopulate) according to your logic.
    Thanks.(My jdev version 11.1.1.5.0)

  • How to recover weekly jobs from the past schedules

    How to recover weekly jobs from the past schedules

    Hi
    You may also need to check the 'Scheduled' option to check for jobs which were schduled but were never released.
    Regards
    Sandeep

  • How to recover lost files from ipad on mac

    I have stored many videos, contacts, notes, music files and more on my ipad. Unfortunately, I lost my some files on it owing to my wrong operation. Now I am
    looking for the ways how to get them back quickly, but it is failed. If you are familiar with this problem, please continue reading to give me some clues about how to recover these lost files from iPad on Mac computer? 100 coins will be added!

    Firstly, you can rely on iCloud or iTunes to recovery iPad data, such as recover deleted text messages, photos, notes, restore iPhone contacts, after all, it is free. 
    1. Connect your iPad with iTune on computer 
    2. Right-click or control-click on the iPad icon under iDevice on iTunes 
    3. Select "Restore from Backup" from the given options 
    4. After it finishs, your contacts are back to your iPhone 
    Important Note: This works only if you have made a backup for your data on iTunes. 
    In case that the iCloud or iTunes cannot help to make a iPad Data Recovery, you can turn to a third party tool.
    how to recover deleted files on iPad
    http://www.iphone-data-recovery.com/recover-files-on-ipad.html
    how to recover deleted photos from iPad
    http://www.iphone-data-recovery.com/recover-ipad-photos.html
    how to recover deleted videos from iPad
    http://www.iphone-data-recovery.com/ipad-video-recovery.html

  • How to recover erased documents from pdf notes that are in the icloud backup?

    Hello,
    Does anybody know how to recover documents erased from pdf notes that are in an Icloud backup? Thanks
    mpintok02

    You could restore from a previous backup. How to: http://totalipad.com/how-to-restore-your-ipad-from-a-previous-icloud-backup/

  • How to restore one table from the previous backup in 9.2.0.8 version.

    Hi,
    How to restore one table from the previous backup in 9.2.0.8 version.
    Thanks
    -Ganga

    Hi,
    What is the table you want to restore?
    Using export/import is supported with Oracle Apps database (for full database exp/imp, and certain schemas like custom ones). For the Apps schema, I believe it is not supported due to object dependencies and integrity constraints.
    Regards,
    Hussein

  • HT203167 how to recover my audiobooks from 2006 to present

    how to recover my audiobooks from 2006 to present?

    Audiobooks are currently a one-time only download from the store, have you got copies of them anywhere e.g. on your computer and/or on a backup ?  If not (and if they are still in the store) then you can try contacting iTunes support and see if they will grant a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

Maybe you are looking for

  • How to create the user on Internet Application Server(IAS) control console

    Hi All, My Client is asking me for How to create the user on Internet Application Server(IAS) control console 10.1.2( 10g release 2). If anyone have the document for How to Create the User on Internet Application Server (IAS) console 10g release 2 ,

  • JDeveloper 11g just displays Loading... image only

    Hi, I am having problem in testing my web application. i m using JDeveloper 11g 11.1.1.0.0 and ADF faces. the problem occurs whenever i run my web application. the browser displays white page with Loading... image and keeps showing this image and not

  • Reporting que

    Hi In my current system , source system didnot maintained Regions (South,north,east, west) they maintianed only the states. My reporting requirement is to develop the report for region...means region wise sales across country.. making changes for reg

  • Working on FI Invoice Idoc sending from R/3 to XI

    Hi All, I need to send Invoice Idoc's to XI system. Can anyone please help me out how to start from the beginning. If you guy's can give me step by step that would be wonderful...

  • What is this setting?

    It seems like Photoshop and Illustrator are set at 73 pixels per inch, while my Acrobat is set at a 98 pixels per inch? This has been causing me much confusion... Whenever I open a document in Acrobat, it looks like I have a differently sized documen