How to upgrade one of the two lines in double

I use 11.2.0.3.0

Is it possible using a CASE statement to find the rows that are double and one of the two lines was updated so that they are all unique?

What I get is something like this

Col1 Col2 COL3 COL4 Col5

1

1111
11111
22222
22222
33333
33333
44444
44444
55555
55555

I would change one of the columns in the two lines that makes the unique lines like this

Col1 Col2 COL3 COL4 Col5
11111
12111
23222
24222
35333
36333
47444
48444
59555
50555

Hello

I don't see how a CASE expression would contribute to this problem.

In your original message, you said you wanted to update the table, in other words, to permanently change some of the values stored in the table.

In response, #2, looks like you want to change what is in the table, you just want to replace by new values for col2 in this query, without permanently changing table.  You can do this by using the ROW_NUMBER right in the query, when you thought using a CASE expression.

Tags: Database

Similar Questions

  • How to remove one of the two temporary files

    Hello
    I changed only inadvertently the temp tablespace in a database - evil

    ALTER TABLESPACE TEMP add TEMPFILE 'temp_wrong_file.dbf '.
    SIZE 100M REUSE AUTOEXTEND ON NEXT 10M 1000M MAXSIZE;

    I need to drop all this bad temp file and not the original and correct a temporary file for the database.

    Is this OK: -.

    change the drop of tempfile 'temp_wrong_file.dbf' database including data files;


    This fall just the wrong temp file?

    Thank you
    Fran,
    
    Nice demo - I didn't realise that was possible. What happens if someone has used some TEMP space inside that datafile?
    
    John
    

    I have omitted this problem because I think he has created just the temporary file, so the temporary file was not in use.

    In this case, if the wrong tempfile is in use, you will get the following error:

    ORA-01258: unable to delete temporary file C:\USERS\FRANCISCO\MIBBDD\ORADATA\FRAN\TEMP01.DBF
    ORA-27056: skgfrdel: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: The process cannot access the file because it is being used by another process.
    
  • How can I printscreen, only one of the two screens I use now?

    I work with two screens and when I try to printscreen the computer takes the two images on the screen and print, making the really small screen images to the point that they are almost impossible to read.
    I want a pint only one of the two screens.

    Hello

    Try the capture tool:

    How to use the Windows Vista Snipping Tool
    http://www.bleepingcomputer.com/tutorials/tutorial135.html

    Use capture tool to capture screenshots
    http://windowshelp.Microsoft.com/Windows/en-us/help/1337cdba-52a2-4704-ad4d-2d7bace605b41033.mspx

    How to take screenshot with the capture - simple tool
    http://Lifehacker.com/228885/Windows-Vista-tip--take-screenshots-with-the-Snipping-Tool

    Cup - best tool screenshot screenshot
    http://desktoppub.about.com/od/screencaptures/IG/Snipping-Tool/Snipping-Tool.--0k.htm
    http://graphicssoft.about.com/b/2009/05/15/using-the-Snipping-Tool-in-Windows-Vista.htm

    How to take a screenshot with the tool captures of Vista
    http://www.WikiHow.com/take-a-screenshot-with-the-Snipping-Tool-in-Vista

    Use the Windows Vista Snipping Tool to take screenshots
    http://www.tips4pc.com/articles/Windows%20Vista/use_the_windows_vista_snipping_t.htm

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How to choose the slot one of the two bunk?

    How to choose the slot one of the two bunk?

    Select the two points to cross the selection with the open selection tool, and then clear the high point on the page by holding shift and clicking on it.

    or vice versa. Select the high point of the page first and then select now shift. the high point of the page désélectionnera.

  • How to export a video with two audio tracks such as: English and a steam engine, then open in vlc player, then select one of the two tracks?

    How to export a video with two audio tracks such as: English and a steam engine, then open in vlc player, then select one of the two tracks?

    Everything you always wanted to know about the acoustics in first Pro CC - YouTube

  • How do you apply Blur to only one of the two duplicate layers?

    Hello everyone

    I have two layers of dynamic object to a panoramic photo, which is a duplicate of the other and returned vertically.

    I would like to apply Blur to the inverted layer, so this step appears as a reflection of the other layer.

    However, when I apply the blur to the image reversed in its .psb document window, the blur effect ends on the two layers.

    Why the blur apply to two separate smart objects and how could possibly apply Blur to only one of the two double layers?

    Please advise me.

    Thanks as always,

    EAD

    Even if you see two separate layers, Photoshop is not to see them in the same way. When you using duplicated layer (Ctrl/Cmd + J) command, which tells Photoshop to create clones SO double layer sets SO. Update content on one of the 2 cloned layers will take into account changes to another. As you modify the content of a layer of cloned SO that change is automatically reflected in the other. As noted above, the solution is mentioned to apply the blur as a dynamic filter without changing the content (do not double click on layer SO): with SO layer selected in the layers panel, go to filter > blur > Gaussian blur.

    To cite only in case you need this option: you can duplicate the layer SO without cloning to help: command of new dynamic through copy object . In this case you can apply changes to the .psb file you make and modifications will not reflect to another (parent) layer of SO. In this case, disadvantage is that you can't quickly Exchange content on the two SO layers when creating clones SO you can overlay.

  • Conditional formula using one of the two operations

    How to create a conditional formula where the results are a choice between two formulas based on the cell to two cells has a value greater than 0?  More specifically, I have to add value in a cell (in the column headed "added amount") to a cell in a column of the running totals if the value of this cell is greater than 0, or subtract the value of a different cell (in the column headed "amount withdrawn") in the same line, if the value of this cell is greater than 0.  Only one of the two will have a value in a given line.

    Hi George,.

    If you only have a value in a column, then you have even a logical formula. You can do this:

    A2 is an input value, it could be called "balance forward".

    A3 is filled down.

    Quinn

  • How to make one of my computers line so that I can install LR and PS on a third unit and how do I tell Adobe about which computer is offline while I have only 2 operational at a time?

    How to make one of my computers line so that I can install LR and PS on a third unit, and how should I inform Adobe on what unit is online, at any time, so that I can use the other two?

    Richard,

    You can have the creative cloud installed and signed in on two computers as long as you don't use it on one at a time. Download and install as you did on the first computer, sign in to your Adobe account on the Adobe using your Adobe ID website, download the desktop app from clouds, then download the software.

    You can download the installer for Creative Cloud from here:
    Creative cloud help | Creative cloud desktop.

    After you install the creative Cloud desktop application, you will need to sign in with a login password and Adobe. Then you can install applications. This link provides more information and step by step instructions, if you need: CC help | Download, install, update or uninstall applications

    If you get a new computer, simply log out of creative cloud over one of the other and log on to the new.  Connect, disconnect you and | Adobe Creative Cloud desktop app

    Guinot

  • The two lines EX90 and add speed dial

    My friends, I need help in this case, we replaced digital phone with EX90 new to our general manager. but there is some functionality was available on the old phone:
    1 - the old phone has buttons around the screen as a speed dial buttons for certain numbers of employees
    2 - the old phone has two lines one private and one is the direct line

    Here, he wants the same features on the EX90:
    1. I configured the favorite on the EX90 as a shortcut, but he wanted the speed Dial buttons appear directly on the screen for

    press about this directlry.
    2 - I have configured the EX90 on CUCM and added the second row but he only appeared, if there is a method to allow

    calls on the (direct and private calls on different lines) EX90

    Please I need your urgent help

    The DefaultPanel Option is only in more recent versions of TC software, I do not remember what version it appeared in, but it is there in the last TC7.1.3.  If you don't, you probably use an older version of software on your EX.

    It is located in the web interface under Setup, System Configuration, UserInterface touchscreen Panel default.

    The options are: none, last, list of contacts, MeetingList and keyboard.

    The option of contact list

    Another option (although, as for a simple speed dial) is the installation Service that puts a button in the upper left corner of the touch screen.  Note: Only facility Service 1 is available in the Panel even if you configure 5 of them.

    Wayne
    --
    Please rememeber the frequency responses and mark your question as answered as appropriate.

  • How to select one of the VMRC and WebMKS of vRealize of automation for the end user

    As you know, there are two Protocol to use the remote console to the configured virtual machine of vRealize Automation. I know how to select one of the VMRC and WebMKS on vCenter via Web Client, but I'm not sure whether vRealize Automation can select one of the VMRC and WebMKS. Is there anyone who knows about it?

    You can set in the law.

    Grant

  • Hello, I would like to know how to transfer one of my two 'belonging' to another computer because I just bought a new Mac...? Or how to cancel it on my old laptop so I can activate it on my new computer. Thank you very much!

    Hello, I would like to know how to transfer one of my two 'belonging' to another computer because I just bought a new Mac...? Or how to cancel it on my old laptop so I can activate it on my new computer. Thank you very much!

    Hi Virginia,

    You need to go under the Help menu of Muse option to disconnect and then install it on the other computer you want using the creative cloud desktop application.

    - Abhishek Maurya

  • Trouble with the pdf form trying to "choose" one of the two paragraphs of text

    I am creating a PDF form and trying to find a way to choose one of the two groups of text that are approximately long paragraph. and having only the one I choose are visible on my pdf.  I tried to use a drop-down list, but it wouldn't accmodate the amount of text that I needed

    How to refer to a checkbox.

    I've added a new field of text (multiline) and put the java script in the section actions, just as you typed.  When I run the shape there is no box to choose and is not my default text (the text box is empty).  When I click outside the text box and then comes my 2 paragraph.

    All of the suggestions.

    BD

  • I can't send mail to one of the two accounts of e-mail with the outgoing server.

    Recently, I was unable to send an email to one of the two accounts which are the two aol. One of them is netscape. They both use the same outgoing server 'smpt.aol.com' I've tried the suggestion to remove the password on behalf of netscape (the one I can't send). Now I get a 5.7.1 sender address rejected. I'm sure this is a settings problem and probably a dealing with passwords, but I just can't solve. Help!

    I checked both accounts and servers as you suggest. The first time he asked me, he said that have been rejected. When I pressed try again, it has been accepted, and now everything seems to work fine. Thanks a lot to you two. I really appreciate it.

  • My iPhone-ish syncs with macbook pro when it comes to iTunes. Message reads "iPhone need latest version of iTunes. I can't understand how to upgrade iTunes on the iPhone, unless it comes to update the operating system. I guess I have the latest OS, 9.3

    My iPhone-ish syncs with macbook pro when it comes to iTunes. Message reads "iPhone need latest version of iTunes. I can't understand how to upgrade iTunes on the iPhone, unless it comes to update the operating system. I guess I have the latest OS, 9.3.2 on my iPhone. Any help for this problem?

    • Sync with iTunes on a Mac or a PC requires:

    iTunes too old and too old osx to support necessary to have iTunes, you will need to update osx to update iTunes to work

  • Urgent! How to open one of the last update of the project in an earlier version first?

    How to open one of the last update of the project in an earlier version first?


    I can't open a project that was saved in the latest version of first. My version is earlier than that of the project that have been saved

    Hello

    So far, backward compatibility is not available in Premiere Pro.

    Export your project as a FCPXML of the new version of first and try to import in the previous version.

    Kind regards

    Ilyes Singh

Maybe you are looking for