How imp one table, delete the old data? or the deletion of the table (before)

Suppose that: in my tcomven of the actual table, I have 15 records, guess also, I have the file: h12292008.dmp there are 27 records

If I type:

IMP TABLES = (tcomven) UFIERROS/linuxx fromuser = UFIERROS touser = UFIERROS file = h12292008.dmp ignore = Y

show imported 27 files, I checked the table and I have 15 + 27 files = 42 Records

My question:

before you import the table is possible delte all the contents of the Tcomven table (note I do first with sqlpleu and or sqldeveloper) my question is exista flag custom imp?


or:

If I type (same command ignore without flag):

IMP TABLES = (tcomven) UFIERROS/linuxx fromuser = UFIERROS touser = UFIERROS file = h12292008.dmp

tells me an error: the object exists, same question: the imp command flag for gout have first of all the tcomven of the table (or in any case, at the head of exp e)?


Thank you

Your needs:

When you use imp (old style) of command line... you must delete/truncate the table before

If you are using expdp/impdp, there option TABLE_EXISTS_ACTION help 'TRUNCATE' table before.

TABLE_EXISTS_ACTION Action to perform if any object already exists.

Valid keywords: (SKIP), APPEND, REPLACE and TRUNCATE.

Tags: Database

Similar Questions

  • during an update lots of my profile folder has been put in a folder on the desktop marked the old data. How to restore this data file

    During a bet to update, automatic update of windows has started and some how much my profile data has been removed and stored in a file on the desktop. There is a simple and easy way to restore this folder from the current firefox?

    You can use the contents of the Old Firefox Data folder to "roll back" the refresh, but this involves several steps. It's probably even faster than the recovery of individual files and load those into your new profile.

    Check in the folder 'Old data Firefox' update adds a folder with a random semi name on your desktop. If there is only one, that probably has your old settings and Add-ons. If there is more than one, you'll want to work with one who has been updated recently.

    Once you have identified the profile folder, that you want to restore, here is my "old profile resurrection suggested procedure:

    Overview

    Here are the steps described in more detail below:

    1. Create a new Firefox profile
    2. Delete all of this profile folder
    3. Copy in all of the old profile folder

    Create a new profile for Firefox (Windows)

    Exit Firefox completely and start up in the Profile Manager by pasting the following in the Windows search, or the Run dialog box by pressing ENTER:

    firefox.exe -P
    

    Note: any time want to switch profiles, exit Firefox and return to this dialog box.

    Click on the button create a profile, give it a name like OldSettings and skip the option to change the location of the folder. Select the new profile from the dialog box, and then start Firefox.

    Open the new profile folder in Windows Explorer

    Firefox in the new profile should look like a new installation of the plant. Open the troubleshooting information page by using either:

    • button "3-bar" menu > "?" button > troubleshooting information
    • Menu help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table, click on the view file"" button. Firefox will launch your new profile folder in Windows Explorer.

    This folder open, switch back to Firefox and get out by using either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Firefox is closed, the profile folder must be front and Center, or you can activate it by using the taskbar.

    Copy old data instead of new

    In this new profile folder you just popped open - NOT the one on your desktop - select all content (you can use Ctrl + a) and delete (you can press Delete on the keyboard).

    Leave this window open, open or switch to your folder of old data of Firefox. Consult your old profile folder. At this level, you should see a folder named bookmarkbackups among other things.

    Select all (Ctrl + a) and copy (or right-click > copy or Ctrl + c).

    Switch to the empty profile folder in another window and paste (or right-click > paste or Ctrl + v). This may take a few minutes because some files are large.

    Launch Firefox

    Firefox should start in this 'new' profile with the old resurrected profile data. Success?

  • How to add new data and delete old data from a custom text file?

    Hi guys!

    Well, I'm in a bit of trouble.

    I need to make a request to some GPS tools. Split data in indicators, generate coordinates (google maps format), and so it goes.

    One of the functions of the systems is the calculation of oscillation of coordinates. The formula should be: latitude 1 - latitude 2 = latitude AND longitude 1 - 2 = swing longitude longitude oscillation.

    Since I'm on two values, I thought: "Oh, if I connect these data in a file, I just pick up and do all the calculations part." Yes, this idea is adapted to my needs (even if it is not the best, the computer part solved my problem).

    BUT I don't see a way to write the current value of the loop and erase the old results.

    For example, suppose that loop 1 gave me 1.00000, 2,00000 coordinates and loop 2 gave me the coordinates 3.00000 and 4.00000. Right?

    My log file is similar to: 1.00000,2.00000; 3.00000,4.00000;

    Well, it works. However, we will look forward to loop 3: coordinates 5.00000,6.00000.

    If the program connects to it, I would get the chain: 1.00000,2.00000; 5.00000,6.00000; When I really need 3.00000,4.00000; 5.00000,6.00000;.

    For this reason, when I apply the calculation of oscillation, it will always take the most recent value and do all the calculations with the first result (from loop 1).

    Well, I wonder that there is a way to add new data to a file and replace the old values, with simple code. If anyone knows how, please respond here!

    Considerations:

    (1) I want to do it as simple as possible. My code is kind of great, and it is not appropriate to insert structures or library now.

    (2) maybe the explanation is not as simple as it is for me. Really, I couldn't find a better way to say what I need.

    (3) if someone has doubts as to my doubts, please just comment and I'll try to be as specific as possible.

    Thanks in advance!

    I guess my question is why write a file just to delete.

    If you pass an array of points from one iteration to another, you will have to take extra time to open the file, read the file, delete the old data, writing the new data, save the file, and then close the file.  It would be pretty much the same thing, but without having to go through the hard drive.

    Just a thought.

  • How the identity if one table used only by synonyms and not by any other subprogrammes in a schema?

    Hi people

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    The ALL_DEPENDENCIES view has hierarchical information based on object_id

    The view object has the object_type.

    Create a hierarchical query on the first view and attach it to the second view.

    Or you can use the utldtree.sql file in the installation of the DB admin folder. Comments initially show you how a hierarchical query based on the object type.

  • move old data from the mysql table

    I have a Web page that retrieves the content in a database. The table are filled via a restricted page that was created for the data entry. I just want to know is anyway we can push the old data to another table after so long. For example if the data was created in table1 for seven days, the eighth day, I like the data that have been put on the day 1 to table2 kind that table1 will have room for the data that will be created to update 8. I would like to only 7 days worth of data in table1. Also how to remove completely from table2 data after 90 days. Also, what must you do to have the last entry in the table of row1.of

    Thank you

    keramatali wrote:

    what I need to do to display the data of the day 2 to day 7 instead of shoiwng given from day 1 to day 7

    It's a simple matter of logic. Get the last seven days is to retrieve dates that have overtaken less seven. To get days 2 to 7, you need to dates that are less than or equal to today less than 1 AND greater than or equal to 7 today.

    SELECT column1, column2, column3FROM myTableWHERE date_created <= SUBDATE(NOW(), 1) AND date_created >= SUBDATE(NOW(), 7)ORDER BY date_created DESC
    
  • I had to get a new phone because I dropped one and damaged the screen how am I supposed to remove the information from the old phone if I'm not

    I had to get a new phone because I dropped one and damaged the screen how am I supposed to remove the information from the old phone if I don't?

    Are you turning in the Apple device, a company or the insurer? Can you turn on the device? If so, you could try to send a command to erase with iCloud. If this is not the case, if her deal with Apple, they he will wipe away. If the only damage the screen, you don't want just the screen replaced?

  • 'Manage account' page for SYNC has no controls other than change password, delete the account &amp; disconnection? !!! How does one choose to synchronize the information on Safari?

    I am very impressed with this mozilla support. For one I got this detail section filled completely and communication it was not accepted when I pressed the button question post...! Half an hour to write these to the top... GO?

    Anyway to be more concise: I see the synchronization preferences page. I chose the stuff on the left side, and my computer is already pre-registered on the bottom.

    Other than that how does one choose what to synchronize with (in my case, Safari also can a sync for firefox 'cloud' there to prepare for a clean reinstall? And where would progress & achievement shown?

    Sync does not support cross-browser. I have working installation of Firefox Firefox installation only, with the synchronization server in the middle.

    The use of the term 'cloud' could be misleading; the data are encrypted and are decrypted in Firefox to be usable. Without the correct hidden 'key' [created from the password] data can not be decrypted and Sync does not connect to attempt to recover the data of the user.

    Not recommended to use Sync as a backup media for a clean reinstall of the OS. Some users have done the job, while many others have involuntarily lost their data because of stupid mistakes, they did, and wrong to understand how works the synchronization service.

    See this support article for how to back up and restore data in Firefox, which in your profile folder.
    https://support.Mozilla.org/en-us/KB/back-and-restore-information-Firefox-profiles

  • I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    Yes, you can have a one word title, by assigning a paragraph style title to this one word. No, you cannot change the text in a Table of contents, but you can change paragraph style font attributes (line) and add for example, a head of points between the types of OCD paragraph and page numbers. No part of the table of contents will not provide hyperlinks in exported PDF documents.

    When you look up in the menu bar, you can see the word iPages, or simply Pages. There is no product of iPages.

  • How can I find about: config in the Firefox old data folder

    I had to reset Firefox. But I lost all my data of fireform. How to retrieve these data in the folder of old data from Firefox? It's in the topic: the configuration file.

    Also, when I start Firefox my previous session always comes back even if my options say start a new page. How can I fix this without resetting Firefox?

    You can check if you have a user.js file in the Firefox profile folder that affects the pref browser.sessionstore.resume_session_once true value.

  • How di I remove/delete old Java Console in the addon list?

    How di I remove/delete old Java Console in the addon list?

    go to "c:\program files\Mozilla Firefox extensions" or anywhere where you installed ff

    you will find a few files

    Discover those starting with "{CAFEEFAC.

    {CAFEEFAC-0016-0000 -0023- ABCDEFFEDCBA}
    It would be the version 6.0.23

    {CAFEEFAC-0016-0000 -0024- ABCDEFFEDCBA}
    version 6.0.24 and so on

    Just delete the corresponding folder and restart firefox!

    now for those who want to make sure that you remove the right thing:
    inside these files, you will find a file called 'install.rdf '. Open it with Notepad. search for "em: name. You should find "Java Console".
    OK, don't the module you think you are in the folder appropriate for java.
    next step is to find the "em: version. This should give you "6.0.23" or something similar. If it's the old version not appearing in your add-ons Manager, then simply delete the corresponding {CAFEEFAC-file. you can do it even with ff ongoing enforcement, but must start again to dismiss the old writing.} If not, just check the others until you find the version you want to get rid of.

    hope this helps

    Cheers!

  • How can I automatically populate the date field after only one "digitally signs" a .pdf form? Help, please! Thank you!

    How can I automatically populate the date field after only one "digitally signs" a .pdf form? Here's a sample:

    _ Digital Signature___ (signs), Date (Auto-remplit)

    Under field properties of the signature on the signature tab, you can use a custom script, like this:

    this.getField("Date").value = util.printd ("mm/dd/yyyy", new Date());

    You know, however, that a digital signature always displays the date and time, it has been applied?

  • How to get the old data 6 months from the current date?

    Hi friends,

    I have a table which includes historical data, which are having more than 1 years old data. The historical table gets updated once a week. My requirement is that I should get the latest data from the week of each month for 6 months according to the current data. I use oracle 10g.

    Can you please someone help in this.

    Thanks in advance

    SELECT last_day (ADD_MONTHS (TRUNC (SYSDATE, 'mm'),-LEVEL))-7 start_dt.
    LAST_DAY (ADD_MONTHS (TRUNC (SYSDATE, 'mm'),-LEVEL)) end_dt
    OF THE DOUBLE
    CONNECT BY LEVEL<=>

    change as a result, I have provided you the start and end dates for your logic...

  • How data form move one table to another table

    Hai All

    I have two tables and a table, I need to move data to another table.

    First table t1 has 3fields
    code, date, time

    Second table t2 has 8fields

    code, intimate, outtime, att_date, perin, intrinsically, perout, introut

    The table t1, I need to move the data to the t2.

    for example
    Bartime bardate barcode

    02/01/10 0011, 0815

    02/01/10 0022, 0820

    02/01/10 0011, 1130

    02/01/10 0022, 1145

    02/01/10 0011, 1230

    02/01/10 0022, 1235

    02/01/10 0011, 1645

    02/01/10 0022, 1650

    both depend on that data to store in this table t2 and I seem to like this


    barcode timein intrinsically introut timeout date
    0011 0815 1130 1230 1645 02/01/10

    0022 0820 1145 1235 1650 02/01/10

    Thanks and greetings

    Srikkanth.M

    I need to cursor for that pls tell me on how to use and get the sequential files

    You don't need a cursor at all, you can do it with a single INSERT statement:

    insert into table2 (barcode, bardate, timein, intrin, introut,timeout)
     select barcode, bardate,
            max(decode(rn,1,bartime,null)) timein,
            max(decode(rn,2,bartime,null)) intrin,
            max(decode(rn,3,bartime,null)) introut,
            max(decode(rn,4,bartime,null)) timeout from (
                             select barcode, bardate, bartime,
                                    row_number() over (partition by barcode, bardate
                                                       order by bartime) rn
                               from table1)
    group by barcode, bardate;
    

    It works with a single employee and 9999999999999...

    Max
    http://oracleitalia.WordPress.com

  • How can I do a new insert data in the other table extrancting?

    Hello, I'm looking how to do an insertion of two tables save values and apply to other tables like this:

    The insert I'm looking for is something like this:

    Have two tables, the first table is emp1 and contains the column: data 1 and 2 with line of data1: 1234 and line data 2:5555, therefore,.

    I want to create an insert on a new table called (emp2) that contain the data in the column: data 1, data 2 (from the first table demo1), data 3, data 4, etc.

    How insert again I can put / call data from another table insert in this table (emp2).

    I don't know if my example is correct (my English is very bad).

    This is an example: (sorry for the points).

    table EMP2:

    1 data... 2 data... 3 data... data 4... data 5
    (from emp1)... (from emp1)... 8534... 2347... 4544

    Thanks for the help.

    Published by: user10182692 on 24-May-2009 08:39

    Published by: user10182692 on 24-May-2009 08:40

    Published by: user10182692 on 24-May-2009 08:45

    Welcome! on the forum.

    You can include the code and data in the {code} tags

    If I'm good, and I know what is your condition

    insert into emp2 ( data1, data2)
    select data1, data2
    from emp1
    

    SS

  • How do I know if the two tables are the same in the data they contain

    Hello

    How will I know if the two tables are the same in the data they contain?

    Hello

    Please check this thread [compare all columns | http://forums.oracle.com/forums/thread.jspa?messageID=3166309�].

    Kind regards

Maybe you are looking for