How to accomplish these Updates with the Tool?

How to accomplish these Updates with the Tool?
UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
SET TIME_ZONE = 'X'
WHERE STATE_CODE IN ('AE', 'AP', 'AA', 'MP', 'GU', 'PW', 'FM', 'MH');
commit;
UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
SET TIME_ZONE = 'E'
WHERE STATE_CODE IN ('CT', 'DC', 'DE', 'GA', 'MA', 'MD', 'ME', 'MI', 'NC', 'NH', 'NJ', 'NY', 'OH', 'PA', 'PR', 'SC', 'VA', 'VI', 'VT', 'WV');
commit;
UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
SET TIME_ZONE = 'M'
WHERE STATE_CODE IN ('AZ', 'CO', 'MT', 'NM', 'UT', 'WY');
commit;
UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
SET TIME_ZONE = 'P'
WHERE STATE_CODE IN ('CA', 'NV', 'WA');
commit;
UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
SET TIME_ZONE = 'H'
WHERE STATE_CODE IN ('HI');
commit;
UPDATE aimp.TIME_ZONE_BY_STATE_TYPE
SET TIME_ZONE = 'A'
WHERE STATE_CODE IN ('AK');
commit;
Thanks,
Carol-Ann

Good morning Carol-Ann,
* Pick table operator for table TIME_ZONE_BY_STATE_TYPE twice, once as source and once as target.
* Pick an expression operator.
* Drag STATE_CODE as input to expression
* Create output column TIME_ZONE in outgroup
* With the attribute properties of this output, choose Expression
* Enter here a case statement 'translating' all state_codes to time_zones, e.g. CASE
WHEN INGRP1.STATE_CODE  IN ('AE', 'AP', 'AA', 'MP', 'GU', 'PW', 'FM', 'MH')
THEN 'X'
WHEN INGRP1.IN ('CT', 'DC', 'DE', 'GA', 'MA', 'MD', 'ME', 'MI', 'NC', 'NH', 'NJ', 'NY', 'OH', 'PA', 'PR', 'SC', 'VA', 'VI', 'VT', 'WV')
THEN 'E'
etc.
END* Map this output column to TIME_ZONE column of target
* Set Loading Type of target to Update, choose No Constraints.
Hope this helps.
Regards, Patrick

Similar Messages

  • How do I get updated with the newly released Lr5 as a creative cloud member?

    How do I upgrade to the new Lr 5 as a creative cloud member?

    You could simply backup your iPhone using iCloud without using you Mac at all. Just go to "Settings > iCloud > Storage & Backup" on your phone and then press Backup Now.

  • I connected my external hard drive to my new imac to put all of the information from my macbook onto it. i have been working on the macbook now and want to reconnect the external hard drive so my imac is updated with the work. How is that done?

    I connected my external hard drive to my new imac to put all of the information from my macbook onto it. I have been working on the macbook now and want to reconnect the external hard drive so my imac is updated with the work. How is that done? or is it possible?

    As I said, I don't use Time Machine, so it'd be best to wait for an "expert" answer, but, with my very limited knowledge, I'd say: probably not - so, for now, I'd suggest you read up on Time Machine:
    http://web.me.com/pondini/Time_Machine/Home.html
    http://support.apple.com/kb/index?page=search&src=support_site.home.search&local e=en_US&q=time%20machine
    And, you might be attracting more knowledgeable answers if you were to post this question in the Time Machine Forum (part of the Snow Leopard forums).

  • How do you transfer voice memos to your pc?  I have synced my phone a number of times and everything updates with the exception of voice memos?

    How do you transfer voice memos to your pc?  I have synced my phone a number of times and everything updates with the exception of voice memos? Also, my voice memos are checked to be synced everytime my phone is synced. 

    Voice memos, once correctly synced, will appear under your Music Library.  Can you go through your music library to check?

  • How to get my custom controller updated with the global custom controller?

    Hi all,
    I'm new to CRM Web UI and need some advice from the expert. Currently I'm working on component ICCMP_BT_DATES and noticed something weird with this component. When this component is first launch it display the dates of a service ticket correctly. However when I navigate to another screen, save a new ticket and back, the dates are not reflected. When I went in and debug the component, I noticed that the context is still tied to the previous ticket. I think the custom controller is not updated with the latest from the global custom controller.
    My question is how do I get my custom controller updated with the latest.
    Regards,
    Ricky

    You have to bind your custom controllers context node to the event NEW_FOCUS of the collection wrapper on the global custom controller.
    Best place to do this might be the CONNECT_NODES of the context of your custom controller.
    Get the global CuCo with GET_CUSTOM_CONTROLLER() and then the appropriate context node. Now:
    SET HANDLER yourMethod for lr_global_cuco->typed_context->thecontextnode->collection_wrapper activation iv_activate.
    Of course you have to implement a method similar to ON_NEW_FOCUS as it is on many other nodes.
    cheers Carsten

  • I have an Iphone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with Itunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?

    I have an IPhone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with ITunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?
    I updated the phone before backing it up on iTunes, now the update wanted me to connect the phone with iTunes and it says the phones in recovery mode and it must be restored before its used with iTunes. I go to click restore and it says it will reset it to factory default and I'll lose all my current data. I have all my sons pictures and videos along with this notes. I can't lose all of this data! Please help!

    You have to restore the iPod, no ifs, ands, or buts...
    After iOS is installed you will be asked if you what to set it up as a new iPod or if you want to restore from a backup.
    If you have a good backup you can restore that and you're good to go.
    If you don't have a good backup, then you end up with a "clean" iPod....

  • How do i uninstall iphoto? it was preinstalled on my macbook pro when I bought it used and I can only update with the previous owners password.

    how do i uninstall iphoto? it was preinstalled on my macbook pro when I bought it used and I can only update with the previous owners password.

    Do you have the current MacOS X version 10.10.2?
    Then you can simply move iPhoto from the Applications folder to the Trash,
    sign into the App Store with your own AppleID
    reload the "Featured" main page of the AppStore with ⌘R,
    then download iPhoto with your own AppleID.
    Make a backup of your iPhoto Library, before your launch the new iPhoto the first time,
    If your current system is not Yosemite, you can only buy a boxed iLife 11 version of iPhoto to install it independent of the previous owner.

  • I updated my ipod and it deleted my entire library how do I restore it with the backup I have saved?

    I updated my ipod and it deleted my entire library.  How do I restore it with the backup I have so all songs will be available in the cloud; which I paid extra Money to increase memory for?

    The backup that iTunes makes does not include apps, music, synced videos and photos. Se:
    iTunes: About iOS backups
    You will have to sync the items back form yur computer/iTunes library to the iPod via iTunes. If they are not on the computer you can redownloa d some iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    PS CC 2014 DNG and RAW 8.5 did not update with the rest of the CC package. I downloaded/installed the DNG/RAW converter but how do you install w/i CC 2014 plugins

    Thanks John. I have tried solutions 1 to 3 from (-http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.h tml) and they do not work. So I presume that all I can do is to remove all 25 CC applications and start again!
    Incidently, ( http://www.adobe.com/downloads/updates/ ) does not list Adobe Camera Raw 8.4 as an update even though Adobe have announced that it is available (http://blogs.adobe.com/lightroomjournal/2014/04/camera-raw-8-4-and-dng-converter-8-4-now-a vailable.html). The same applies for Adobe Premiere Pro 7.2.2 (http://blogs.adobe.com/premierepro/2014/04/premiere-pro-cc-7-2-2.html). If they are not available this would explain why I cannot download them but I am very suprised that Adobe didn't mention this when I contacted them.
    Anyway thanks again

  • How do I open the photoshop window with the tools all around the screen?

    How do I open the photoshop window with the tools all around the screen?

    Try This:
    Hope this helps!
    Julia

  • How do I answer calls with the KITKAT update?  I hit the flashing button but it's still ringing?  Where are the Answer settings?

    How do I answer calls with the KITKAT update?  I hit the flashing button but it's still ringing?  Where are the Answer settings?

    Aha!  Thank you!!!  That was not obvious. Sometimes I don't get the green and red icons.  So it's slide it to the right for answering and slide to the left for voice mail.

  • How do I enable automatic +/- pen tool when hovering over a path/anchor with the tool in AI CC?

    I've noticed that in Illustrator CC (17.1) the pen cursor doesn't automatically let you add or delete an anchor point anymore, when in Pen tool mode (P). It used to be an automatic feature in CS5, where a + or - sign would show up whenever I hovered over a selected path with the tool. Help please?

    here it is in CS5. i couldn't say if they've changed it for CC, but I can't imagine it's gone completely.

  • To make  the Billing document header  updated with the new VAT number.

    Hi Experts
    Due the business requirement we change the VAT number of  customers  for the European countries.
    And now how can we ensure that the Billing document header gets updated with the new VAT Reg.Number for the existing Billing documents.
    The intention is to ensure that when we Print an already existing invoice,the new changed VAT number should appear in the invoice output.
    Please suggest.
    Montee

    Hi,
       Have these documents been released to accounting? If yes then you have top canecl all the documents to update the billing documents and repost them with the new vat number. I think you might know how VAT gets determined in SAP. If not please go to SPRO-IMG-SD-BF-TAXES-MAINTAIN SALES TAX IDENTIFICATION UMBER DETERMINATION.
      1.  If the payer has a VAT ID number and RG <> AG, then the tax number
          and tax classification are copied from the payer (in this case, the
          ship-to party is not relevant).
          The tax number is taken according to the 'tax country of
          destination'.
      2.  If 1. does not apply:
          If the ship-to party has a VAT registration number and the sold-to
          party does not, tax number and tax classification are copied from
          the ship-to party.
      3.  If 2. does not apply:
          Tax number and tax classification are copied from the sold-to party.
      If you enter A, tax number and tax classification are generally copied
      from the sold-to party.
      The tax number is copied according to the 'country of destination
      relevant for taxes'.
      If you enter B, tax number and tax classification are generally copied
      from the payer.
      The tax number is copied according to the 'country of destination
      relevant for taxes'.
    Kindly please let me know If you need any more information on this.
    Regards
    Ram Pedarla

  • Will my ipad 3gen be updated with the new version of iTunes?

    Will my ipad 3gen be updated with the new version of iTunes?

    Again, please examine the entire thread. Did you notice that I was the one to provide the answer to the original question, way back these several months ago? So yes, I do think I added something useful to the thread, and was completely justified in asking Arenep83 what he or she was talking about given the complete non sequiturs he or she posted.
    Given that this is only your second time using the Discussions, and I mean this as kindly advice, you might want to spend a bit more time here learning how things work before you post only to criticize someone else's post.
    'nuff said. Regards.

  • ı have bought second hand ipad. 17 apps which were downloaded by previous user with his or her apple id. I need to update them but when I try, ı can't update them with my own apple id. Device ask me to update with the id and password of previous user.

    ı have bought second hand ipad. 17 apps which were downloaded by previous user with his or her apple id are waiting to be updated. I need to update them but when I try, ı can't update them with my own apple id. Device ask me to update with the id and password of previous user. I tried I forgot but this didn't work.  So how can ı have my device forget the previous ID and use my own to update exsisting apps.
    <Email Edited by Host>

    Restore the device to factory settings with iTunes. 
    Then launch the App Store app on the iPad and sign in with your Apple iD and password:
    OT

Maybe you are looking for

  • Adobe Captivate Flash Buttons in Moodle

    I am using flash SWF files to control Captivate Course in Moodle and I have trouble with CLOSE pop up window flash button. It works in IE and FIrefox but not in Chrome and OPERA when course is opened via Moodle. I have created simple html page with l

  • JMS Queue XML numeric value out of range

    Hi I have an interface that process the root element of the JMS message. It is failing on the step Load JMS to XML. The error states: numeric value out of range. I've analysed the message and determined the exact data item which is 11 digits long. Th

  • Need to rename files parsing date formats in the filename [SOLVED]

    Godaddy changed the naming scheme of their server logs again.  I need some perl or something magic that will convert format A to format B.  Doing this is bash is going to be painful so I'm hoping some of your perl or python ninjas out there could hel

  • Can I have two versions of OSX running on same machine?

    Hi - since upgrading from Snow Leopard to Mountain Lion recently I have run into an unexpected problem (though I'm sure there would have been a warning that I missed). Some of my older applications, such as Adobe Creative Suite version 1, no longer r

  • E71 Contact List - Name and Number view

    hi everyone, i am using the nokia E71 and have a question regarding the contact list. i have imported about 200 contacts to the Phone Memory (not the sim card). Now when i open the contact list, it displays all these contacts in the First Name Last N