Flashback query to get back a old table with data.

Hi,
By mistake i drop one table 20 days before so is it possible to get that table back using flashback query.
if yes , can you give me some idea for that query.
thanks for your support...

Hi,
Flashback is a 10g new Feature. The only solution in your case will be recover the table from a backup. If you have an exp backup just import the table back to the DB, if you have a RMAN backup you can perform an incomplete recovery (point-in-time recovery) to the time just
before the drop in an auxiliary DB and exp/imp back the table to your DB.
Cheers,
Francisco Munoz Alvarez
http://www.oraclenz.com

Similar Messages

  • I no longer have the PC that had my CD library and purchased music on iTunes. I am now on another PC and managed to download my purchased iTunes music etc. Is there a way on iTunes that I can get back my old CD music library without ripping again ?

    I no longer have the PC that had my CD library and purchased music on iTunes. I am now on another PC and managed to download my purchased iTunes music etc. Is there a way on iTunes that I can get back my old CD music library without ripping again ? Earlier back up is corrupted. Thank you in advance. No longer have my old iPod but getting new one.

    If you had the hard drive from the original machine, a backup of the same, an iPod with the media, or a subscription to iTunes Match then there would have been hope, but alas no.
    For the future see Backup your iTunes for Windows library with SyncToy.
    tt2

  • Getting back my old data after HD crash

    I've just erased my mac hard drive becuase it was corrupt and re-installed OSX, I did the simple erase with the disc utility.
    I know the data still exists on my hard drive and will just be over written with new data when it comes along.
    Is there any piece of (free) software I can use to get back my old data?
    Thanks

    Unfortunately you reinstalled OS X which means you've already overwritten the drive. You should have recovered your data before erasing the drive and reinstalling. Or better yet you should have been maintaining backups.
    Basics of File Recovery
    If you empty the Trash the files are gone. Recovery is possible but you must not allow any additional writes to the hard drive - shut it down. When you delete files you erase only the directory entries, not the files themselves. However, the space occupied by the files has been returned to the system as available for storage. Writing to the drive will then eventually overwrite the space once occupied by the deleted files in which case the files are lost permanently. Also if you save a file over an existing file of the same name, then the old file is overwritten and cannot be recovered.
    If you stop using the drive it's possible to recover deleted files that have not been overwritten with recovery software such as Data Rescue II, File Salvage or TechTool Pro. Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • After a manual failover , getting back the old primary to work

    Hi All,
    i am testing some DG features
    i did a manual failover by shutdown abort the primary and amek the physical standby as the new primary.
    now suppose my clients work for 1 day on the new primary , and i want to get back the old primary to be a primary again
    Do i need to create a new db from the new primary and switchover , any other shorter way to do it ?
    Thanks

    Hi..
    I think that is the best method.Using RMAN create a new standby database on the previous primary server and the do a switchover to it.If the database is not too big you can go for schema level exp/imp or (expdp/impdp) depending on the oracle version you are using as you haven't mentioned it.But, then you will have to create a new standby database later and moreover, there could be loss of some data.
    Anand

  • When i restore my iphone i lost everyting my picture ,my contacts, ahhh how i get back my old stuff ?

    when i restore my iphone i lost everyting my picture ,my contacts, ahhh how i get back my old stuff ? i was updating the latest version 6

    You don't.
    Sorry

  • I accidentally create a new event on an old event, now i want to get back my old event's editing.  What should i do?

    I accidentally create a new event on an old event, now i want to get back my old event's editing.  What should i do?

    The files that weren't inside the media folder on the original machine need to be copied over to exactly the same paths as they had on the source machine. See this thread for an ongoing discussion of a similar problem. See also this post on migrating the iTunes library.
    tt2

  • HT4946 how can i get back my old data on my iphone

    Can anyone please help me about my problem about how to restore or get back my old data from my iphone 4?

    http://support.apple.com/kb/HT1766

  • Fill a table with data coming from an RFC

    Hello everyone:
    I've followed the Weblog "How many lines of java code did i write for a simple Web Dynpro?"
    /people/durairaj.athavanraja/blog/2004/10/17/how-many-lines-of-java-code-did-i-write-for-a-simple-web-dynpro
    I've called an RFC and created a table with data coming from it (which is also a table). My question is, if in this table there's a field named "UserType" there are two possible values for this field:
    "userA"
    "userB"
    How can I get the table only show me the "userA" registers? The RFC does return all of the users, but when filling the table, can I put an if-else somewhere on my code?
    Thanks a lot
    Alejandro

    Hi Alejandro,
    Referring to the link provided "The logic of the filter process is not implemented in Web Dynpro. The application developer must implement the action to be executed."
    We would have to implement the action onFilter in the controller implementation. Ideally, we fill the data retrieved from backend into a List (java.util.List) (this could be done on init of view) and then subset the list after meeting the criteria in the action handler(say
    onActionFilterData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent).
    Having done this, you may bind the output list back to the node (shown in table)
    Regards,
    Chaitanya

  • How to move tables with data from one client to another

    Hello friends
    I have 2 clients 001 and 002.
    I have created a table with lots of data on client 001.
    I have to get the same table on 002 also with the same data.
    Is there an easier way of transfering this data from one table to another?
    I would appreciate any feedback on this.
    I know that mappings etc., can be done using the export and import of tpz file. So I want to know if there is any similar thing to transfer a table with data.
    THanks
    Ram

    hi
    thanks for the response
    We are working on a sandbox system for demo purpose.
    Actually we have two different group of people using two different clients created on the same server.
    Our group is using client 001 and another group is using client 002.
    We don't want the changes that one group does to the table to affect the other.
    Our group has created a z-table and have entered considerable amount of data.
    However, the other group also need to create the same table with the same data.
    So to avoid double work, we were trying to see if there is a way to copy the table with data created on 001 to 002.
    Any suggestions / feedback will be greatly appreciated.
    Thanks
    Ram

  • Moving tables with data from one client to another

    Hello friends
    I have 2 clients 001 and 002.
    I have created a table with lots of data on client 001.
    I have to get the same table on 002 also with the same data.
    Is there an easier way of transfering this data from one table to another?
    I would appreciate any feedback on this.
    I know that mappings etc., can be done using the export and import of tpz file. So I want to know if there is any similar thing to transfer a table with data.
    THanks
    Ram

    If you do not have the client field in your table, then the table is cross-client.
    IF you have the client field filled with 001, then you need to create the same entries with client 002, I dont think that you can do this with a transport.
    You have to write an ABAP that reads and writes the data.

  • How to pass internal table with data in ABAP OO

    Hi experts ,
    Here is the problem...
    I create a screen 100 and use the internal table to get data from database, and then press the button on screen 100 , it will call screen 200.
    I use ABAP OO code in screen 200, and i want to keep the internal table with data that i get from the sceen 100 parts, but it seems that it just supports to create a new internal table and get data from database in ABAP OO. That means i need to create a new table to save the data in internal table ? Or there is any other solution something like exporting or memory id ...
    ps . the internal table in screen 100 is declared in global area, the beginning of the code.
    Please give me some advice, thanks a lot!
    Regards ,
    Claire

    I have already know how to do, here is my code:
    METHODS fill_tree importing itab2 like itab1.
    CALL METHOD: me->fill_tree exporting itab2 = itab1.
    In METHOD fill_tree,
    declare
    data: itab3 TYPE STANDARD TABLE OF itab,
    itab3[] = itab1[].
    It is useful to me, thanks a lot.

  • Trying to populate a table with data from WebRowset

    Hi,
    I want to be able to populate my tables with data from WebRowsets that have been saved to files. Everything goes good until I get to acceptChanges(). At which point I get a NullPointerException.
    Here's the code...
    WebRowSet wrs = new WebRowSetImpl();
    FileReader reader = new FileReader(inputFile);
    wrs.readXml(reader);
    wrs.beforeFirst();
    CachedRowSet crs = new CachedRowSetImpl();
    crs.setSyncProvider("com.sun.rowset.providers.RIXMLProvider");
    crs.populate(wrs);
    crs.beforeFirst();
    crs.acceptChanges(con);
    Results in...
    java.lang.NullPointerException
    at com.sun.rowset.CachedRowSetImpl.acceptChanges(CachedRowSetImpl.java:867)
    at com.sun.rowset.CachedRowSetImpl.acceptChanges(CachedRowSetImpl.java:919)
    I'm using Java 1.5_02. I looked at the source code for CachedRowSetImpl, and the only thing I could think of is that maybe "provider.getRowSetWriter()" in the following snippet is returning null....
    public void setSyncProvider(String s)
    throws SQLException
    provider = SyncFactory.getInstance(s);
    rowSetReader = provider.getRowSetReader();
    rowSetWriter = (TransactionalWriter)provider.getRowSetWriter();
    Any ideas?? Thanks!

    I have the same problem after setting com.sun.rowset.providers.RIXMLProvider.
    Looks like a bug to me.
    By the way, why are you creating a new CachedRowSet and populate it with a WebRowset (which extends CachedRowSet)?

  • Using expdp to export a mix of tables with data and tables without data

    Hi,
    I would like to create a .dmp file using expdp, exporting a set of tables with data and another set without data. Is there a way to do this in a single .dmp file? For example, I want all the tables in a schema with data, but for the fact tables in that schema, I only want the fact table objects, not the data. I thought it might be easier to create two separate .dmp files, one for each scenario, but would be nice to have one .dmp file that satisfies my requirement. Any help is appreciated.
    Thanks,
    -Rodolfo
    Edited by: user6902559 on May 11, 2010 12:05 PM

    You could do this with where clauses. Let's say you have 10 tables to export, 5 with data and 5 without data. I would do it like this
    tab1_w_data
    tab2_w_data
    tab3_w_data
    tab4_w_data
    tab5_w_data
    tab1_wo_data
    tab2_wo_data
    tab3_wo_data
    tab4_wo_data
    tab5_wo_data
    I would make one generic query
    query="where rownum = 0"
    and I would make 5 specific queries
    query=tab1_w_data:"where rownum > 0"
    query=tab2_w_data:"where rownum > 0"
    query=tab3_w_data:"where rownum > 0"
    query=tab4_w_data:"where rownum > 0"
    query=tab5_w_data:"where rownum > 0"
    The first query will be applied to all tables that don't have their own specific query and it will export no rows, the next 5 will apply to each of the corresponding table.
    Dean

  • How to Copy complete structure of a table with data from one database table to another databse table

    I need a sql query to copy structure of table with data from production table of ONLINEBTREKDB database to production table of Archive database.
    I tried this query
    select * into Archive.dbo.Production from ONLINEBTREKDB.dbo.Production p
    but problem is I am able to copy the table schema and data but not able to copy constraints(PK)
    Any Help?
    seema

    You've multiple options
    1. Use generate scripts wizard available in SQL management studio. This is particularly helpful when you want to script out lot of objects. You can also choose to script data as well inside this. This can be launched by right clicking the db, choosing tasks
    -> generate scripts and then selecting required options inside the wizard
    2. Use object explorer and right click and script out table. You can also use search functionality to find object you want inside object explorer
    http://visakhm.blogspot.in/2013/02/object-filtering-using-ssms-object.html
    3. Use query based on INFORMATION_SCHEMA views like TABLES,COLUMNS,CONSTRAINT_COLUMN_USAGE etc to generate the script
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How add primary key constraint to already existing table with data

    I want apply primary key constraint to already existing table with data
    is there any command or way to do

    Alternatively, assuming you want to ensure uniqueness in your primary key column you can do this:
    alter table <table name> add constraint <cons name> primary key (col1,col2) exceptions into <exception_table>
    If the altter table statement fails this will populate the EXCEPTIONS table with the rows that contain duplicate values for (col1,col2).
    You will need to run (or get a DBA to run) a script called UTLEXCPT.SQL (which will be in the $ORACLE_HOME/rdbms/admin directory) if you don't already have an EXCEPTIONS table.
    Cheers, APC

Maybe you are looking for

  • HP Pavilion tx2510us Entertainment Notebook PC

    I have a HP Pavilion tx2510us Entertainment Notebook PC (original installed with Windows Vista) upgraded to Windows 7.  When I power on the machine all I get is a black scrren.  I can hear the fan, and see lites on  but the screen stays black,  I hav

  • Apple Digital Camera Raw Compatibility - 3.1

    This update extends RAW image compatibility for Aperture 3 and iPhoto 09 for the following cameras: Hasselblad H3DII-50 Leica M9 Leica X1 Olympus E-P1 Olympus E-P2 Panasonic Lumix DMC-GF1 Pentax K-7 Pentax K-x Sony Alpha DSLR-A500 Sony Alpha DSLR-A55

  • LayerCake elements use with PS Elements 11?

    I am trying to use the plug-in LayerCake elements, within PS Elements 11 but don't know how to use to activate the the plug in so that I can drag an image off the LayerCake sheet of images onto a photo image I have brought up in PS Elements 11.  I wo

  • Why this query required 2 extra columns in GROUP BY

    Hi All, This is my query: SELECT "parent_level_id",        "parent_level_name"        "parent_level_id",                            "child_level_id",        "child_level_name",        "scenario_id",        "scenario_name",        "exported",        "

  • Shake 4.1 License Node Locked?

    Is Shake 4.1 node locked? Waiting a few months to see how the Mac Pro works, but would like to purchase and install Shake now on my G5 dual 2.5. and don't want to have issues transferring the license if it is node locked. Thanks! G5 Dual 2.5   Mac OS