Problems with update/insert and the ON clause

I have two rather identical mappings, both supporting SCD Type II. One of them works, the other one doesn't.
As in the SCD whitepaper, I have a split, that ultimately ends in a union, and then UPDATE/INSERTs into the target dimension. My problem is, that though using the matching_id for matching in one mapping, it is not allowed in the second mapping. The error is ORA-38104: The columns refererred in the ON-Clause cannot be updated "MyTable.MyId" (all loosely translated).
I just don't understand it, as it should be able to match the ID, and if not found, create a new record using INSERT.
I found a description of the error that sounded like this (https://cwisdb.cc.kuleuven.ac.be/ora10doc/server.101/b10744/e38001.htm):
ORA-38104: Columns referenced in the ON Clause cannot be updated: string
Cause: LHS of UPDATE SET contains the columns referenced in the ON Clause
Action: none
I just don't understand how this can be a problem, since I have to carry the surrogate key along, in order to assure that the proper records gets updated...
Anyone who can enlighten me on this one?
Regards
Kim

Oh yes :) I was a quite active participant. What puzzles me is, that I cannot get mapping #2 to work. I have tried to do everything virtually alike, with regards to the surrogate key, and the extra mapping column.
My setting for the keys are as below:
Surrogate Matching
Load column when inserting: yes no
Load column when updating: yes no
Match column when updating: no yes
Load column when deleting: no no
Table best viewed in notepad :)
It "feels" like it's trying to update the surrogate key, instead of actually matching.
Regards
Kim

Similar Messages

  • Persistent problems with updating, uninstalling and the functioning of the setup discs.

    I am having problems with the Reader (9) and Acrobat Pro 9 aspects of my registered copy of CS4 Design Premium. When acting on the prompts from the updater, neither of these products will update, giving me a 1301? error (essentially telling me that i have modified the content of the folders?????) This is rubbish. I then decided to uninstall Acrobat 9 Pro and reinstall from the startup disc, well I was wrong, That refuses to work either, 1) The Acrobat uninstaller is stating that Acrobat is not the correct program for this uninstaller to uninstall, ??????? So I just deleted it and went to the startup disc. It gets to the 'preparing to install' stage and that is all, (waited for 3 hours for something to happen, I think that is quite enough).
    Please explain to me what is going on and more importantly get me my Acrobat Pro back so I can update it. NOT HAPPY.
    I have successfully downloaded and installed Reader X from the site, so we will see if that behaves itself when updating.

    Uninstall everything Adobe (yes, including CS4), run the Creative Suite Cleaner Tool, then reinstal lfrom scratch. Only run upates after both CS4 and Acrobat have been successfully reinstalled, then carefulyl re-apply all patches/ updates based on priority. Something busted/ locked your installer database which could include an update gone wrong. Can happen again, but updating from a fresh install is usualyl less prone to such issues and it might actualyl go through....
    Mylenium

  • Problems with updating files in the cloud

    problems with updating files in the cloud

    What kind of problems?
    Have you recently upgraded to iCloud Drive on your iOS devices with iOS 8?
    Be aware, be careful, be prepared for iCloud Drive | TUAW: Apple news, reviews and how-tos since 2004

  • Hi i have i problem with my iphone and the problem is the security question i have forgot the answers

    Hi i have i problem with my iphone and the problem is the security question i have forgot the answers
    I understand German and Italian i littlebit English

    You need to ask Apple to reset your security questions; this can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (106626)

  • Problems with tethered capture and the 4.2 update

    I'm having problems with tethered capture and my canon 1ds mark III since I updated to 4.2. Is anybody else having issues with tethered capture that was working fine before the update?

    http://forums.adobe.com/community/search.jspa?peopleEnabled=true&userID=&spotlight=false&c ontainerType=14&container=3316&rankBy=date&q=4.2+tethering

  • Problems with updating muse and illustrator

    Everytime I try and update muse it says the installer is damaged - have tried everything, restarts, waiting a few days etc.
    Then wne I tried updating illustrator I got this:
    Adobe Illustrator CS6 Update (version 16.2.1)
    There was an error downloading this update. Please quit and try again later. Error Code: U43M1D204

    seems to be working with illustrator however still have a problem with muse..
    says
    the application coudl not be installed because the installer file is damaged. Try obtaining a new installer file from the application author

  • Problem with update Firmware and Fax with m276nw

    Hi
    First of all sorry for my english...
    I have two problems
    1) I can't update the printer in wirelless mode, I mean the update program (version 2014-08-05 , Version 20140718, 12.05M) and the printer work but finally the printer is not updated.
    How can i do it?
    2) I'd prefer to forward fax in email or in alternative I'd want to read in a web interface. In this case I have a suggestion: An update could be the way.
    Thx
    P.S. Sorry again

    Hello @Compyweb,
    Welcome to the HP Support Forums!
    I would like to assist you today in resolving the firmware update issue and the fax forward to email issues that you're experiencing on your HP Laserjet Pro 200 Colour MFP M276nw. I understand that you have been trying to update your printers firmware via the wireless connection but your printer does not want to do that. I'm going to provide you further instruction on how to properly update the firmware.
    How to Properly Update Firmware:
    It is best to update firmware through a USB Cable connection. This is because the firmware update will reprogram your printer. Sometimes with wireless connections there can be intermittent communication. If the firmware update is interrupted in any way while the printer is being updated it can cause a programming failure on your printer. If this occurs you most likely would need a printer replacement. Also, a firmware update gets sent to your printer much like a print job. Therefore, you need to ensure that you do no have any print jobs in queue waiting to print before you update the firmware.
    What I would suggest doing is running the HP Print and Scan Doctor Tool. If you run this tool and select 'fix printing' than the tool will run a scan on your computer and ensure that the connection, software and driver are all properly setup. If the HP Print and Scan Doctor identifies any issues it will attempt to resolve them for you. I suggest installing the printer for USB connection before running this tool as you want to run the firmware update through USB.
    HP Print and Scan Doctor
    Once you run the HP Print and Scan Doctor Tool and get the all clear that everything is set up properly than you can run the firmware update. Please click on the following link for the proper firmware download:
    HP LaserJet Pro Series Firmware Update Utility
    Once the utility is downloaded, you want to run the tool and send the firmware to the printer. The printer may turn itself off at the end of the update, just turn the printer back on if it doesn't turn on automatically.
    In terms of wanting to forward faxes to email or an alternative option like receiving faxes in a folder on your computer, these are not options that you have with your HP Laserjet Pro 200 Colour MFP M276nw. As the specs for your model printer: LaserJet Pro 200 color MFP M276nw Specs indicate you only have the option to send faxes from a computer.
    Should you still want to receive faxes to your email you could check out the third party service: Efax
    However, I believe you may have to pay for this service. Also, should you have any issues with the Efax service HP does not support this on your product. That means that if you need technical support for efax you need to speak with efax regarding this. For further information regarding Efax, please visit: Efax: Easy faxing anywhere
    Please let me know if this information resolves your issues. Good luck!
    X-23
    I work on behalf of HP
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping!

  • Problem with iTunes Match and the song "This will be (an everlasting love)" from Natalie Cole

    Hello,
    I'd like to report a problem with iTunes Match and Natalie Cole's song "This will be (an everlasting love)".
    When I stream it or download it on another device I don't get Natalie Cole's song but another one from Maxine Nightingale (Right back where we started from).
    Please tell me if you have the same problem or how I can report this problem to apple.
    Thank you.

    Hi,
    This is a user to user forum - not Apple. Contact them http://www.apple.com/support/itunes/contact/
    Alternatively if the song was purchased from iTunes, you may be able to report the problem by signing into you iTunes account on your computer. Report an problem with an item you bought from the iTunes Store, App Store, Mac App Store, or iBooks Store
    JIm

  • Driver Scanner will not update, there is a problem with proxy sttings and the firewall

    Driver Scanner will not update. It says there is a problem in connecting to the Uniblue browser.
    Also there is a problem with the proxy set up and the firewall.

    With that one, let's try getting an installer log to the Apple engineers for a look.
    1. Open a command prompt window. (Start menu -> Run. Type in "cmd". Hit return.)
    2. Drag and drop iTunesSetup.exe onto the window so that the full pathname of the file is at the command line prompt.
    3. Type in a space, then the following line:
    /l*v C:\log.txt
    4. Hit return.
    5. The installer will create a log file:
    C:\log.txt
    Find that file and send it as an attachment to this email address: [email protected]
    in the email to Roy, be sure to include the following information:
    - A link to the thread on Apple Discussions where the issue is being discussed
    - The username you are using in the thread
    - The version of iTunes you are using or trying to use
    - the version of Windows you are using (mention service packs)
    - A concise description of the issue you are seeing
    - The exact text of the error message you are seeing

  • Problem with combo boxes and the reset button in certain situations

    Hi Everyone,
    i have a problem to make the reset-button function properly in an what-if analysis dashboard.
    The dashboard uses two combo boxes that are not visible at the same time. In my application the second combo box only appears when a dedicated menu (label based menu button) has been activated.
    So i have combo box 1 when menu A is active an dand combo box 2 when menu 2 is active.
    After starting the dashboard initial values are fine. If you then directly change to menu 2 (seeing combo box 2 with
    the correct default value) and press the reset button, the dashboard returns to the initial view, showing
    the menu 1 with the correct default value. If you now switch back  to menu 2, you will see, that the combo box 2
    is empty (i.e. nothing selected).
    I also tracked the destination cells for the combo box value results as well as the source cells for the "selected item" and the
    destination cells for the "Insert Selected Item". All this values seem to be correct. Therefore i assume that
    this is an issue of event handling. Maybe the combo box 2 does not refresh its selected value because it is already
    invisible when the values are restored.
    This case can easily be simulated by placing two combo boxes and a push button (that changes the visibility of
    the combo boxes) and the reset button on the canvas.
    Maybe someone can help. I am able to provide a test xlf, if neccessary.
    Thanks,
    Oliver
    P.S. I am using Xcelsius SP4 (Version 5.4.0.0)

    Hello Debjit_Singha_86,
    thank you for your support. At the moment i have the following setting:
    label based menu
    - General: Insertion Type "value" from a list of ID's for the menu-items to a dedicated cell (current menu ID, say tab1!$A$1)
    - Behavior: Selected item (position) fixted to item 1
    hidden combo box
    - General: Insertion Type "position" to a dedicated cell with the current choice (say tab1!$B$1)
    - Behavior: Selected item (position) to the same cell (tab1!$B$1)
    Can you give me a hint on how to connect the two components according to your solution, so that the label based menu sets the default for the hidden combox box only in case, that the reset button is pressed?
    Thanks,
    Oliver

  • Problem with update form and date (show 1970-01-01)

    Hi, I've a update form (php/mysql) with many date input field. When my date is 000-00-00 I show 1970-01-01. Why??
    This is the code:
    label for="data_chiusura"><strong>Data chiusura</strong></label>
          <input type="text" name="Data_chiusura" value="<?php echo $string=$row_Recordset1['data_chiusura'];
        if($string == '0000-00-00'){
        $string = '';
        } else {
        $string = date("d-m-Y", strtotime($string));
        }; ?>" id="Data_chiusura">
    Thanks
    k

    Why would the date ever be null? As long as the date has a non-zero, non-null value this function will work correctly.
    I'm a little confused by what you are doing here. So, you are pulling data from a table, and populating forms with it. This particular field is a date field, and the problem is that when the data for that field is a null, you are getting instead a date of 1970-01-01 displayed in that field - is that correct? What do you want to appear there when the data is null? Nothing?

  • Problem with media player and the uploaded music

    since i downloaded the new version of the nokia pc suite every time i upload a song to the memory and try to update the library in the media player, the phone just shows the updating bar but it doesnt do nothing,it just says updating and thats it i have to cancel the operation and close the media player, and the only i dont remember that well but i think the nokia music manager is uploading the songs to another folder, right now the default folder is e: sounds/digital can that be the problem ?
    and another thing, if i go to the built in archive manager in the phone i can see the songs i upload but in the media player i dont see them. Any idea?
    Message Edited by alex18 on 18-Apr-2008 08:39 PM

    25-Apr-2008 03:56 AM
    alex18 wrote:
    well i found another thing on my phone , everytime i turn off the cellphone and then turn it on the media player is allways open on the background.
    this is a normal feature of n73 ME...sad isn't it? that's one thing i didn't want with my old phone...
    What you can do is to go to music player then click options and then exit...
    hope this helps.
    CeS
    "The best index to a person's character is how he treats people who can't do him any good, and how he treats people who can't fight back"

  • Problem with outer joins and the class indicator/discriminator

    Hello,
    I am having a problem defining a query in toplink (10.1.3.3).
    In the workbench, I have created a parent and 2 child descriptors. The parent is "AbstractValue", the children are "DefaultValue", classified by the discriminator 'DEF', and "OverrideValue", classified by 'OVR', both located in the same table.
    Another descriptor (containing a one-on-one mapping to both a "DefaultValue", and a "OverrideValue") needs to be queried for its 'value'.
    The way the query should act is: If an override value (row) exists, this one applies for that object. If an override doesn't exist, return the default value.
    The query then comes down to (as I have it now):
    builder.getAllowingNull("OverrideValue").getAllowingNull("value").ifNull(builder.get("DefaultValue").get("value")).equal(builder.getParameter(VALUE_PARAM));
    The problem is that toplink adds the distinction for the different kind of "values" in the where clause WITHOUT checking for null values e.g. it performs an outer join, but then still checks for the discriminator value thus
    ....t1.ovr_id = t2.id(+) AND t2.discriminator = 'OVR' AND ...
    instead of
    ... LEFT JOIN values t2 ON (t1.ovr_id = t2.id AND t2.discriminator = 'OVR') ...
    This leads to the behaviour that the query returns ONLY the objects that have override and default values.
    An overview of the queries (simplified)
    Toplink, at the moment, returns only results if both override and default values exists:
    SELECT t1.id
    t1.def_id,
    t1.ovr_id
    FROM values t2,
    parameter t1,
    values t0
    WHERE nvl(t2.value, t0.value) = 15 AND
    t1.ovr_id = t2.id(+) AND t2.discriminator = 'OVR' AND
    t1.def_id = t0.id AND t0.discriminator = 'DEF'
    Situation Wanted:
    SELECT t1.id
    t1.def_id,
    t1.ovr_id
    FROM parameter t1
    LEFT JOIN values t2 ON (t1.ovr_id = t2.id AND t2.discriminator = 'OVR')
    JOIN values t0 ON (t1.def_id = t0.id AND t0.discriminator = 'DEF')
    WHERE nvl(t2.value, t0.value) = 15
    Anyone know if there is some statement I am missing to allow an actual outer join on descriptors containing class indicators/discriminators? A possible rewrite?
    Thanks in advance,
    Rudy

    This is a bug in TopLink's outer join support for Oracle. Currently the outer join is put in the where clause, instead of the from clause, as we do on other platforms. You might be able to fix it by changing your OraclePlatform to return false for shouldPrintOuterJoinInWhereClause().
    Please log this bug on EclipseLink, or through Oracle technial support.
    There is a workaround using,
    descriptor.getInhertiancePolicy().setAlwaysUseOuterJoinForClassType(true);
    James : http://www.eclipselink.org

  • I have a problem with HP ToolboxFX and the encountered an error and can not recover error msg.

    Restarting the software and/or the computer do not fix the error.  I have installed the new firmware in my CP2025dn Color Laser it now has version 20110212 firmware.  The error msg reports: windows version Win32NT-6.0.6002.131072 and HP Toolbox FX version 004.012.00146.  I am running the printer on my wireless router.  My computer is a Dell Studio with Vista Home Premium Service Pack 2 - 64 bit OS.  My wife's older laptop with WIN XP is not having a problem with Toolbox.  I have uninstalled and reinstalled Toolbox on my computer today also.  Where do I look next?  Thank you!!!

    Hi
    Please find the link given below might help you to fix your issue.
    Link
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Problem with lenovo t60 and the vga output

    I have a problem with the vga output and the lenovo t60
    When i put the videoprojector connector in to the lenovo t 60, the projector reponde is:
    Not supported
    H: 48.20khz   v: 143,10 hz
     On my desktop pc the projector function on 1024x768 resolution and the 60 hz to refresh.
    The same configurations are on my laptop and the projector doesn't function
    Please help me.

    I too have this problem. My T61 worked fine for about a year, and then suddenly would no longer project. I had made no changes to the settings for the external display, though since the problem started I've tried many combinations without success. Typically the projector reports that the frequency settings the laptop is sending are unsupported. In my case the vertical rate is usually correct (60 Hz) but the horizontal rate varies wildly.
    I suspect a hardware problem, as this post suggests: http://www.edugeek.net/forums/av-multimedia-relate​d/32128-laptop-wont-display-projector.html. (Note the message claiming that 6 out of 40 Lenovo laptops exhibited this problem.)
    Since my system is still under warranty I guess I'll have to get it repaired, but I'd rather hear of a software fix...

Maybe you are looking for

  • How do you make stacks?

    I want to make an Adobe CS3 stack. How do I do that? I read this somewhere and I am hoping that we can make stacks at all... Unfortunately, the Dock's new Stacks feature is a mess, replacing a utilitarian approach to stashing folders in the Dock (cli

  • Web application for different groups

    I need to develop an application, which is used by 3 different group of people (each group from a different state, I might need to distinguish orders from different state). All the users data is stored in central LDAP server. I need to design schema

  • Oracle 8i : Database crashes after an asynchronous I/O request !

    Hi, If someone can help me, should be appreciated ! Sun Jun 28 05:27:56 2009 Errors in file G:\oracle\admin\ias\bdump\iasCKPT.TRC: ORA-00206: error in writing (block 3, # blocks 1) of controlfile ORA-00202: controlfile: 'F:\ORACLE\ORADATA\IAS\CONTROL

  • I just deleted my iWeb cuz it won't open

    How do I download again? I'm talking about the free version that comes with the computer, not the one that you have to purchase (iWeb '09).

  • RichTextEditor greater sign conversion literally

    Hello, using the richTextEditor I enter within the text the tag <post>. This tag will be used by the application. The text is written immediately to the database but not exactly as I entered it. Instead of writing literally '<post>' to the database t