Would like to update a table based on 1 row being returned from a join.

Hi, hope you guys can help.
I'd like to update 1 rown that is returned from a join query. The following code returns 1 row.
SELECT pt.*, pv.* FROM
--SELECT pt.template_id, pt.property_code, pv.value FROM
property_template pt inner join
property_value pv on pt.template_id = pv.template_id
WHERE property_code = '500_URL';
Based on the row returned i'd like to update a column called VALUE from the property_value table.
I've tried the following code but it updates every row in the value column.
update property_value set value = 'http://10.14.64.170:8080/XTI/UPLOAD'
where exists
SELECT pt.*, pv.* FROM
--SELECT pt.template_id, pt.property_code, pv.value FROM
property_template pt inner join
property_value pv on pt.template_id = pv.template_id
WHERE property_code = '500_URL'
Any help with this would be appreciated.

You need this
UPDATE property_value   pv
   SET value            = 'http://10.14.64.170:8080/XTI/UPLOAD'
WHERE EXISTS            (
                         SELECT 1
                           FROM property_template   pt
                          WHERE pt.template_id      = pv.template_id
                            AND property_code       = '500_URL'
                        );Regards
Arun

Similar Messages

  • I would like to update my mac from 10.5.8 to v10.6.8. can you help me

    i would like to update my mac from 10.5.8 to v10.6.8. can you help me

    Depends on what Mac you have. If it is a PPC (G4 or G5) Mac then Leopard 10.5.8 is as far as you can go.
    If it is an Intel Mac:
    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    (NB: PowerPC applications can still be run in Snow Leopard using Rosetta, but they will not work in later versions of OS X.)
    The OS 10.6 Snow Leopard install DVD is available for $19.99 from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard to bring it up to 10.6.8, or download the combo update from here:
    http://support.apple.com/kb/DL1399
    Check via Software Update whether any further updates are required, particularly to iTunes.
    You should now see the App Store icon in iTunes, and you now need to set up your account:
    http://support.apple.com/kb/HT4479
    You can now upgrade to Mavericks OS 10.9 for free IF you have one of the following Macs, with not less than 2GB of RAM, and at least 8GB of available space on your hard drive:
    iMac (Mid-2007 or later)
    MacBook (13-inch Aluminum, Late 2008), (13-inch, Early 2009 or later)
    MacBook Pro (13-inch, Mid-2009 or later), (15-inch, Mid/Late 2007 or later), (17-inch, Late 2007 or later)
    MacBook Air (Late 2008 or later)
    Mac Mini (Early 2009 or later)
    Mac Pro (Early 2008 or later)
    Xserve (Early 2009)
    iCloud system requirements:
    http://support.apple.com/kb/ht4759
    If you cannot run Mavericks you can purchase the code to use to download Lion from the App Store (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard):
    http://store.apple.com/us/product/D6106Z/A/os-x-lion
    or Mountain Lion:
    http://store.apple.com/us/product/D6377Z/A/os-x-mountain-lion

  • HT201364 I'm currently running OS-10.6.8 on my IMAC with an Intel Core 2 duo and would like to update to at lease 10.7

    I'm currently running OS-10.6.8 on my IMAC with an Intel Core 2 duo and would like to update to at lease 10.7. Can this be done and if so how?

    Only if you cannot upgrade to Mavericks.
    Upgrading from Snow Leopard to Lion or Mavericks
    To upgrade to Mavericks you must have Snow Leopard 10.6.8, Lion, or Mountain Lion installed. Purchase and download Mavericks (Free) from the App Store. Sign in using your Apple ID. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mavericks- System Requirements
           Macs that can be upgraded to OS X Mavericks
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mavericks, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.

  • How to update one table based on another table ??

    Hello Friends:
    I am trying to run the following query in oracle but it won't run.
    UPDATE BOYS
    SET
    BOYS.AGE = GIRLS.AGE
    FROM GIRLS
    WHERE
    BOYS.FIRSTNAME = GIRLS.FIRSTNAME AND
    BOYS.LASTNAME = GIRLS.LASTNAME;
    This query runs fine in sql server but in oracle its saying can't find "SET". PLease tell me what is the correct syntax in oracle to update one table based on another table.
    thanks

    See if this helps.
    If you wrote an SQL statement:
    update boys set age = 10;
    Every row in the boys table will get updated with an age of 10. But if you wrote:
    update boys set age = 10
    where firstname = 'Joe';
    Then only the rows where the firstname is Joe would be updated with an age of 10.
    Now replace the 10 in the above statements with (select g.age from girls g where g.firstname = b.firstname and g.lastname = b.lastname) and replace where firstname = 'Joe' in the second statement with where exists (select null from girls g where g.firstname = b.firstname and g.lastname = b.lastname). The same concepts apply whether 10 is an actual value or a query and whether you have a where clause with the update statement to limit rows being updated.
    About the select null question regarding the outer where clause:
    Since the query is checking to see if the row in the girls table exists in the boys table what the column is in this select statement doesn't matter, this column isn't being used anywhere. In this case Todd chose to use null. He could have also used a column name from the table or a lot of times you'll see the literal value 1 used here.

  • Currently running Mac OS X version 10.5.8, would like to update to 10.8.2 in order to also upgrade to itunes 10.7.  Any suggestions ?

    currently running Mac OS X version 10.5.8, would like to update to 10.8.2 in order to also upgrade to itunes 10.7.  Any suggestions ?

    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • My computer is broken and I have a new one. I would like to update the software on my ipod touch but im afraid it will sync afterwards and i will loose all my data. Is this the only way?

    I have an ipod touch 4g 64gb currently running 4.2.1. I would like to update it to the latest available software without syncing my ipod with itunes as I am using a new laptop that doesnt have my music, photos, videos etc on its itunes library. And so I do not want to loose all my data on my ipod.

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • I have an imac OS 10.4.11 and am using Safari 2.0.4. I would like to update this. I have 1 Gb memory. Do I need more memory to update my computer? I would also like to add an airport system and something where I could read word applications.

    I have an iMac OS 10.4.11 and am using Safari 2.0.4 I would like to update. I have only original 1 GB memory-do I need more to update?I would also like to add an airport or router and would like to add something where I could open word applications. Is it hopeless?

    Thanks. That's a Mid-2007 model with an Intel Core 2 Duo processor. You can run any version of Mac OS X on it up to and including Mac OS X Lion, though for Lion you'd need to increase the memory to at least 2GB, something I'd recommend doing anyway; it's inexpensive and often can increase performance. Your iMac can take up to 6GB if RAM; 4GB is probably a good compromise between cost and performance with a 4GB kit costing about $50.00 US from a reliable vendor such as Crucial.
    Your system already should have included the Airport wireless networking capability, so all you'd need would be a wireless (WiFi) access point (aka "router" or "base station") and an appropriate Internet connection. Apple's Airport Express and Airport Extreme, and the Time Capsule if you'd like to have a built-in hard drive for backups and extra storage, are good choices for a WiFi access point, but there are a number of other manufacturers.
    As to upgrading the operating system, as I said, you can upgrade to Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, or Mac OSX  10.7 Lion (the most recent release).  Apple no longer lists Mac OS X 10.5 on their web site, but if you call the Apple Store you may still be able to purchase a copy. Mac OS X 10.6 Snow Leopard is easily available as is Lion though with Lion you'd need the $69.00 USB flash drive installer or you'd need to purchase and install Snow Leopard first (other than on the flash drive, Lion is only available from the Mac App Store which can only be accessed from Mac OS X 10.6.6. or later). Before you decide, I'd strongly suggest you find out what versions of Mac OS X your applications and perpherals will support, either as they or with a free or affordable update. I'd suspect most of your applications and peripheral drivers would need to be upgraded, at least to support Snow Leopard or Lion. If you consider Lion, make sure of your applications; Lion will no longer run PowerPC-only applications, so many older appliations will not run under Lion.
    Finally, as to Microsoft Word documents which is what I presume you mean, you can of course just purchase Microsoft Office. There are other ways to work with Word documents, though. If you just need to view Word documents, TextEdit in MOSX 10.6 and 10.7 (and perhaps 10.5; I can't remember) can open and view many Word Documents. For something a bit more capable, you can purchase Apple's Pages, part of the iWork suite and now available separately for Mac OS X 10.6 and 10.7, or try one of the open-source solutions such as LibreOffice.
    Regards.

  • My membership is up in July & I would like to update my files as per instructions from adobe.

    My membership is up in July & I would like to update my files as per instructions from adobe. However the program will not let me.  I will have money to upgrade membership for another year soon.
    what can I do in the meanTime????????
    Peter Spier,
    I have been trying to download InDesign and Photoshop for a long time. However, I found out that the programs that I have were all ready installed when I was given the computer. I got in touch with the people and through some questions it was discovered that I need to have Windows 7 for the programs to be compatible. I sent the 11 page Upgrade Advisor Report to Boston for review. Give me a few days to see if I can resolve the problem. Then I will get in touch with you to see what you recommend.
    Thank you.
    Donna Rottman

    OK.
    To avoid confusion, I think we should keep all of this in one thread: http://forums.adobe.com/message/6029742#6029742
    I'm going to coppy the above information and post it there, then lock this thread. If you need to respond you can use the link you will find at the top of the new email you will get when I post in the other thread.

  • I would like to update my ipod to at least a 5.0 how do I do that

    I would like to update my ipod from a 4.1 to a 5.1  how
    I really don't know what type of ipod it is except it is small like a phone and it is an older version  I am pretty sure it is above the nano

    To update
    The Settings>General>Software Update comes with iOS 5 and later.
    Connect the iPod to your computer and update via iTunes as far as your iPod model allows
    iOS: How to update your iPhone, iPad, or iPod touch
    A 1G iPod can go to iOS 2.2 via iTunes and iOS 3.1.3 via
    Purchasing iOS 3.1 Software Update for iPod touch (1st generation)       
    https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/touchLegacyLandingPage
    - A 2G to 4.2.1. Requires iTunes version 10 or higher. If a Mac it requires OSX 10.5.8 or later.
    - A 3G to 5.1.1  Requires iTunes version 10.5 or later
    - A 4G to 6.1.5  Requires iTunes version 10.7 or later. For a Mac, that requires a Mac with OSX 10.6.8 or later
    - A 5G to iOS 7. Requires iTunes 11.1 or later if you update via iTunes
      Identifying iPod models

  • I would like to update Garageband to the newest version for my macbook pro (OS X 10.6.8)

    I currently have Garageband V3.0.5 and I would like to update but when I try to get V4 or higher I get an error. Is this as high as I can go with my operating system?

    Version 4 is from iLife '08, version 5 is from iLife '09 and version 6 is from iLife '11. Version 10 is only found in Mavericks.
    You can't "update" from version 3 to any other version. They are all paid upgrades.
    You can't purchase version 4, 5 or 6 at the App Store. The only way to get them is from a reseller of the iLife DVD suite of apps.

  • I have a MacBook Air (Intel Core 2 Duo) Mac OS X 10.6.8, I would like to update to Lion, but I am not sure if I have the latest version of SNOW LEOPARD v10.6.8, do I need to update to Leopard first and then to Lion or could I just update to Lion?

    I have a MacBook Air (Intel Core 2 Duo) Mac OS X 10.6.8, I would like to update to Lion but I am not sure if I need the Snow Leopard, I am not sure if I have it, or if I can just download the Lion. Please help.

    Select About This Mac from the Apple menu. The dialog will display the installed version.

  • I am a novis when it comes to using technology however I do try. I have laptop, ipod and an iphone. I would like to update music on  itunes on my laptop

    I am a novis when using technology however I do try. I would like to update my music on my iPhone, iPod and my laptop. From my initial transfer I have used both my iPhone and iPod to purchase music therfore there is a greater amount of music on these devices than what is held on laptop. I would now like to have same on all three devices. If I sync will I loose music. Is any one able to help

    Connect to iTunes on your PC and select "Transfer purchases..." from the File/Devices menu. This will add the purchases from each iDevice to your iTunes Library.

  • When I opened iweb it opened as a file I deleated. I have a published website with godaddy and would like to update. How can I open the existing iWeb app to the site that is already published?

    When I opened iweb it opened as a file I deleated. I have a published website with godaddy and would like to update. How can I open the existing iWeb app to the site that is already published?

    You cannot retrieve the already published site as iWeb CANNOT open it - it has no import facility.
    You need your domain.sites file, which you can find under User/Library/Application Support/iWeb/domain.sites.  You do not need any kind of account for this because it is your domain.sites file that resides on the hard drive of your Mac anyway.  Find this file and you can alter your website.
    Use a spotlight search to try and find it and if this does not work you can download something called Find Any File.  If you really can't find it, then you'll have to start from scratch because iWeb cannot open a site that is already published.

  • HT5460 I have an 3 year old mac and would like to update to osx 10.6 or later. when I look for updates, it says that it has no software updates for my computer... help.

    I have an 3 year old mac and would like to update to osx 10.6 or later. when I look for updates, it says that it has no software updates for my computer... help?

    You need to buy it on DVD.
    (96867)

  • I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly app

    I have a dynamic table that calculates the sum of all rows, no issue.  I'm struggling with pulling out a subtotal though.  I would like to have a check box in each row  that flags those rows and gives the sum of their total.  Any help would be greatly appreciated.

    Here's something I threw together rq. The script is in the change event for the checkbox in the table. (Of course, you'll have to modify it to suit the names of your fields.)
    var rows = xfa.resolveNodes("tblAmounts.Row1[*]");
    var subtotal=0;
    for (i=0; i<rows.length; i++) if (rows.item(i).cbAdd.rawValue == 1) subtotal = subtotal + rows.item(i).nfAmount.rawValue;
    nfSubtotal.rawVlaue=subtotal;

Maybe you are looking for

  • Java - php

    Hi Can I ask what's wrong with the following code? I got 2 area in a html page, I want to press a button, then it will pass some information to area 2 which is the php script to manipulate. public void actionPerformed(ActionEvent e) {      AppletCont

  • Since upgrading to Yosemite no printers listed under Print

    Since upgrading to Yosemite, i cannot use my HP Officejet Pro 8500. No printers are in fact listed under the Printer&Scan function. I cannot download drivers ! I reinstalled the printer, using old cd and checked HP site for help... Any suggestion ? T

  • Run Unix script from abap

    Hi Friends  i am runing a abap report which genrate a ( eft.txt ) text file in /usr/tmp/ Now  i want  to run a unix script   which encript this file. I  have created this command in SM69 type = customer command name = ZENC Operation system = unix ext

  • Upload ePub book from local library

    I want to borrow a "book" from my local library.  When I try to download, I get a message that "Safari cannot open the page because the address is invalid". I have also put books on my Mac from this library.  Would this be part of the problem?

  • Can't create database link to oracle 8i

    can you tel me please why i can't create a database link to oracle 8i from owb 9.2.0.2.8