How to do positioned updates?

I have a SELECT statement that I am browsing one row at a time
with FetchNext command.
How do I update that row of data that I am currently looking at?
Is the UPDATE statement with ROWID parameter the only command
available to me?
Can't I use the same statement & cursor that I am using for
browsing the data for updating as well? This would seem more
efficient way.
Any experience with updates?

Good Question.
Even if you are using the ROWID how do you get it without having
to explicitly specifying it in the Select clause ? You could
use "SELECT ... FOR UPDATE" but this locks every row fetched.
If the table you are "selecting" has a primary key or unique
index you could use those fields to do the update but just like
the ROWID, they must be explicitly selected. You can get the
primary / index fields using the all_indexes and all_ind_columns
views.
I'd be interested if you find any solution to this.
This sort of functionality is available if you use Oracle
Objects for OLE. But how is it done ??
Hope you find an answer.
Adrian

Similar Messages

  • How to use position hierarchy for approval in custom workflow ?

    Dear All,
    I have created a custom workflow which fires when ever a new supplier site is created.
    Now I want to add approval hierarchy in this flow. For that I want to use Position Hierarchy.
    I have not find useful resources for doing that. Can you please help me?
    Regards,
    Rubayat

    Hi;
    Please review:
    How to Create a New Position Hierarchy [ID 437489.1]
    Adding Positions to a Hierarchy from Another Business Group [ID 356127.1]
    How To Determine Position Controlled Organizations In The Hierarchy? [ID 549628.1]
    How Does One Create and/or Update Position and Position Hierarchy in HR Using an API? [ID 736443.1]
    Using AME, How To Create Approval Routing To a Certain Position In HR Position Hierarchy [ID 1501433.1]
    Regard
    Helios

  • How do you access updates to apps from the App store after changing to a new ID because the password on the old ID was changed and you don't know what it is now?

    How do you access updates to apps from the App store after changing to a new ID because the password on the old ID was changed by the former husband and you don't know what it is now?  And you set up your own new ID and account but can NOT access the updates, from the App store for the many apps that you already have, because they require that you sign in with that former now inaccessible ID and account and password?  Call it a problem of modern times and changing relationships, if you want to be charitable.

    So I guess it will only be new apps that I download that are allowed to give me their updates while 13 updates wait for me on an ID I can no longer access.
    Yes...  sorry.
    In the future, if need be, you can re download your purchases for free  >  Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Good rule of thumb is to back up your purchases regardless  >  Mac App Store: Backing up your app purchases

  • How to install this update and solve USB and touchpad issues?

    I have Equium M50 (59E) and got bitten by an update that took out my touchpad and keyboard .I have made fresh install of XP Home and have all updated drivers and all is going well .The last update i cant seem to fathom is for
    Driver Ana _2005_10_24_V1.2 it is for ,Standard Open HCD USB Host Controller........X 2 .........
    The update fixes all kinds of issues of the kind i am having and is a recomended update from Driver detective ,that i use offten .
    The trouble is it says to uninstall drivers for the one i have installed allready and when i do this it knocks off my USB mouse leaving me not able to install the new ones .When i reboot it installs the ones i dont want reinstalled .
    This is the read me off the new update and realy it is beyond me to underdstand what to do ............so here it is ?
    Driver revision history:
    Twinhan VP704A Driver Release note
    Note:
    1.In case the system crashes while running with VP704A, Please install ULI
    USB 2.0 host driver in \ULiUSB20Driver
    2. For XP/SP1, please update with the patch in
    <http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&familyid=733dd867-56a0-4956-b7fe-e85b688b7f86>
    3.In XP/SP1, updating driver will crash the system, while new install is ok.
    The trick to update driver in XP/SP1 is shown in the following steps,
    a. Uninstall the driver
    b. Unplug and plug the USB device
    c. Install the driver
    4. To support remote controller, please launch Agent.exe in \Agent.
    Further details can be found in \Agent\Readme.txt
    Known issues:
    1. Multi-instance is not supported
    2. Remote wakeup is not supported
    3. High CPU usage in Analog audio/video capture
    4. Bad VBI Signal using YUY2 color format
    5. AV out of sync if audio captured from wrong filter.
    (Fix:using the filter "USB Audio Device" in WDM stream capture device)
    6. Noise with analog-TV and FM Radio
    (Fix:using the filter "USB Audio Device" in WDM stream capture device)
    Driver revision history:
    2005/10/24, Version: 1.0.2.8
    Bugs fixed and new features:
    1.Crossbar not properly set.
    2005/10/21, Version: 1.0.2.7
    Bugs fixed and new features:
    1.Firmware version read from FLASH OK!
    2005/10/14, Version: 1.0.2.6
    Bugs fixed and new features:
    1.Mutil-Access driver blank part below part screen when VBI!
    2.Mutil-Access driver HCT driver verify crash fix!
    2005/10/07, Version: 1.0.2.5
    Bugs fixed and new features:
    1.Tuner Power off when S-Video,Composite.
    2005/09/30, Version: 1.0.2.4
    Bugs fixed and new features:
    1.Agent.exe updated for repeat bug!
    2.TI5150 Register for Video Format fix!
    2005/09/29, Version: 1.0.2.3
    Bugs fixed and new features:
    1.A trial driver build for multiple access support. (in the folder "\Multi-Access")
    Note: "USB Audio device" filter provided by system does not support mutil-Access.
    2.Reset TI5150 when a new frequency is set
    2005/09/27, Version: 1.0.2.2
    Bugs fixed and new features:
    1.Fix I2C unstable access on some devices.
    2005/09/23, Version: 1.0.2.1
    Bugs fixed and new features:
    1.Analog TV becomes darker sometimes.
    2005/09/15, Version: 1.0.2.0
    Bugs fixed and new features:
    1.Fix INF for Windows 2000 installation.
    2.FM radio scan policy changed!
    2005/09/13, Version: 1.0.1.9
    Bugs fixed and new features:
    1.USB serial number string not visible with USBView, firmware update required.
    2.FM radio scan policy, return unlock if PLLOffset>=9x12.5KHz
    2005/09/13, Version: 1.0.1.8
    Bugs fixed and new features:
    1.After switching between A/D/AV several times, video display becomes dark in THDTV 2.61
    2005/09/12, Version: 1.0.1.7
    Bugs fixed and new features:
    1.Improve channel lock status check performance
    2.Pinnacle INF Fix.
    2005/09/09, Version: 1.0.1.6
    Bugs fixed and new features:
    1.Add some audio initialization function.
    2005/08/31, Version: 1.0.1.5
    Bugs fixed and new features:
    1.NTSC & PAL mode resolution separation.
    2005/08/30, Version: 1.0.1.4
    Bugs fixed and new features:
    1.AvgTimePerFrame.
    2.Frame Drop.
    3.Pinnacle inf file HCT chkinf fail.
    2005/08/22, Version: 1.0.1.3
    Bugs fixed and new features:
    1.Add Remote controller interface in digital source filter.
    2.A new Remote controller test tool with source code in \Test_RC.
    2005/08/16, Version: 1.0.1.2
    Bugs fixed and new features:
    1.Reorg Pinnacel & Twinhan's driver & folder.
    2.VP704A_BDA_Test tool, add system code test.
    3.Set IR protocol standard by registry keys "IRSTANDARD", "IRSYSCODECHECK1" in INF file.
    4.Firmware update
    2005/08/15, Version: 1.0.1.1
    Bugs fixed and new features:
    1.Serial number function is lost while adjusting TV audio volume
    2.RC6A CIR support
    (This firmware uses GPIO3 (M9207 pin 80) to decode RC6 protocol.
    The hardware should be reworked to connect M9207 pin 80 to CIR module and the fimrware
    EEPROM should be flashed with \Firmware\M9207.bin )
    3.Serieal number, MAC address and OEM device name supported.
    Please refer to further details in \Firmware\readme.txt.
    4.Ioclt sample source code included.
    2005/08/08, Version: 1.0.0.10
    Bugs fixed and new features:
    1.Analog TV audio volume increase.
    2005/08/04, Version: 1.0.0.9
    Bugs fixed and new features:
    1.Analog TV Video mode set failure.
    2005/08/03, Version: 1.0.0.8
    Bugs fixed and new features:
    1.Off-centerf requency scan +/- 125Khz
    2.Fix duplicated program scanned in MCE.
    2005/08/02, Version: 1.0.0.7
    Bugs fixed and new features:
    1.THBDAConsole.exe "ulFixedBW", "ulDisableOffFreqScan", "ulMCEFreqTranslate" bug fixed
    2005/07/28, Version: 1.0.0.6
    Bugs fixed and new features:
    1.THBDAConsole.exe "ulFixedBW", "ulDisableOffFreqScan", "ulMCEFreqTranslate" support
    2.Improve I2C communication stability.
    3.Unify Signal strength & quality indication as THBda ioctl interface.
    4.Capture filter Lock status check.
    2005/07/28, Version: 1.0.0.5
    Bugs fixed and new features:
    1. The same signal strength & quality indications as VP7046.
    2. Debug build driver
    2005/07/21, Version: 1.0.0.4
    Bugs fixed and new features:
    1.Update INF.
    2005/07/20, Version: 1.0.0.3
    Bugs fixed and new features:
    1.Improve performance in PCM4
    2.Switching from Analog TV Mode to FM Mode failure
    2005/07/04, Version: 1.0.0.2
    Bugs fixed and new features:
    1.Production Tool FM test OK!
    And here is the readme from the other file within the update ?
    ULi PCI to USB Enhanced Host Controller Driver V1.72 for Windows 98 SE, Windows ME , Windows 2000 and Windows XP
    INTRODUCTION
    This driver supports ULi EHCI host Controller under Windows 98 SE, Windows ME , Windows 2000
    and Windows XP.
    CONTENTS OF THIS DOCUMENT
    1. Installation Instructions
    2. Uninstallation Instructions
    1. Installation Instructions
    (Windows 98 SE & Windows ME)
    A.When ULi USB 2.0 Controller has attached on system
    1. Install ULi USB2.0 Driver
    - Run the setup program.
    - This program will copy driver files into your Windows system,then restart your computer.
    2. After system reboot, Windows will find the new hardware "ULi PCI to USB Enhanced
    Host Controller" and install the driver.
    B.If no ULi USB 2.0 Controller on system
    1. Install ULi USB2.0 Driver
    - Run the setup program.
    - This program will copy driver files into your Windows system, then turn off your computer.
    - Attach ULi USB 2.0 Controller card on your system and then reboot your computer.
    2. After system reboot, Windows will find the new hardware "ULi PCI to USB Enhanced
    Host Controller" and install the driver.
    (Windows 2000)
    A.When ULi USB 2.0 Controller has attached on system
    1. Install ULi USB2.0 Driver
    - Run the setup program.
    - This program will install and load the driver and you don't have to reboot the
    computer.
    B.If no ULi USB 2.0 Controller on system
    1. Install ULi USB2.0 Driver
    - Run the setup program.
    - This program will copy driver files into your Windows system, then turn off
    your computer.
    - Attach ULi USB 2.0 Controller card on your system and then reboot your computer.
    2. After system reboot, Windows will find the new hardware "ULi PCI to USB Enhanced
    Host Controller" and install the driver.
    (Windows XP)
    A.When ULi USB 2.0 Controller has attached on system
    1. Install ULi USB2.0 Driver
    - Run the setup program.
    - Click "NEXT"
    - This program will install and load the driver and you don't have to reboot the
    computer.
    - After install ULi USB 2.0 driver successfully. System will detect "USB 2.0 Root
    Hub". Please select "install the software automatically (Recommended)" and then
    click "Next" button to continue install.
    - This program will install and load the driver and you don't have to reboot the
    computer.
    B.If no ULi USB 2.0 Controller on system
    1. Install ULi USB2.0 Driver
    - Run the setup program.
    - This program will copy driver files into your Windows system, then turn off
    your computer.
    - Attach ULi USB 2.0 Controller card on your system and then reboot your computer.
    2. After system reboot, Windows will find the new hardware "ULi PCI to USB Enhanced
    Host Controller", continue to install.
    - After install ULi USB 2.0 driver successfully. System will detect "USB 2.0 Root
    Hub". Please select "install the software automatically (Recommended)" and then
    click "Next" button to continue install.
    Notice:
    If you can't setup driver successfully. Please reboot your system and then follow
    above steps to install driver again.
    2. Uninstallation Instructions
    1. Open "Control Panel" folder.
    2. Invoke "Add\Remove Programs" icon.
    3. Choose "ULi USB2.0 Driver" item.
    4. Click on "Add/Remove" button to remove drivers.
    Change List:
    1.74
    1.fix issue that multi-interface keyboard can not be detected on the usb2.0 hub.
    2.support all USB2.0 Host Controller.
    1.73
    1.fix issue that On Win98SE , Blue screen when unplugging some USB2.0 Scanner after scanning image.
    2.fix issue that On Win98SE, Blue screen when unplugging some USB2.0 Scanner from USB 2.0 Hub after scanning image.
    3.fix issue that On Win98SE, Blue screen while copying files across the SUNBOX UH-204 Hub.
    4.fix issue that wirless lan will disconect when plug-in usb device.
    1.72
    1.Fix issue that system will crash when USB HD copy large file.
    1.71
    1.improve Power management function in Win98/ME.
    1.70
    1.Improve the function of devcie detection.
    1.62
    1.Fix the problem that a USB floppy under USB 2.0 HUB cannot function when system resume from suspend.
    1.61
    1.Fix the problem that some USB device under USB 2.0 HUB cannot be found if system resume from suspend.
    1.60
    1.To support power management functions when a HUB with USB device plug into
    a root HUB.
    1.57
    1.Fix USB floppy with USB 2.0 HUB can't be detect issue.
    2.Fix issue that audio can't display smooth when USB device attach to system.
    3.Fix system can't detect USB dvice when USB device attach to system in
    suspend mode.
    4.Fix issue that when USB root HUB have full loading, USB HD sometimes
    transaction fail.
    1.56
    1. Fix issue that DVD decoder device can't display properly.
    1.55
    1. Fix OTI USB 2.0 hand drive can't be detect issue.
    2. Fix USB mouse can't use after resume from suspend.
    1.54
    1.Improve driver security.
    1.53
    1. Fix bulk transfer may stop if USB device is plugged in USB 2.0 hub
    2. Fix USB 2.0 mass storage device can't be access after resuming from standby if there is another USB 1.1 device existing
    1.52
    1. Fix system pages fault when accessing mass storage device in Win98SE, or scandisk failure when selecting
    automatically fix file system errors
    2. Fix system may hang up in Win98SE/ME if USB 2.0 cardbus card is plugged
    v.1.51
    1. Improve USB 2.0 cardreader compatibility.
    2. Fix USB IDE devices can't be accessed after resuming from standby/hibernation.
    v1.50
    1. Improve bulk transfer
    v1.48
    1. Fix USB 2.0 LAN driver installation hanging up
    2. Fix some USB 1.1 cardreader can't be identified when plugged into USB 2.0 hub
    3. Fix some laptops Win98SE booting hanging up
    v1.47
    1. Improve bulk transfer performance.
    2. Fix USB 2.0 bulk webcam preview failure.
    v1.46
    1. Support USB 2.0 and 1.1 Isochronous devices
    2. Fix system hanging up when rebooting system if USB 2.0 host controller is disabled in Win9X/ME
    3. Fix system hanging up when uninstalling driver if there are USB 2.0 devices connected in Win2K/XP
    4. Improve device detection capability in Win9X/ME
    v1.45
    1. Fix system hanging up when resuming from ACPI sleep mode.
    2. Fix mouse sometimes doesn't disappear when it's unplugged.
    3. Fix Win9X composite device detection failure and improve Win2K/XP composite device
    v1.44
    1. Support composite device
    2. Improve device detection
    v1.43
    1. Improve IDE read/write transfer failure rate with USB 2.0 to IDE bridge on PC card platform
    2. Fix high-speed device detected as full-speed device
    3. Fix some USB mouses detection failure problem
    4. Fix some USB 2.0 hubs detection failure problem
    5. Fix Win98SE crashing if ULi EHCI 1.42 is installed
    v1.42
    1. Fix PC Card ejection hanging up in Win98/ME
    2. Fix suspend/resume hanging up in Win98
    3. Solve sometimes USB 1.1 device can't be detected if OS boots with USB 2.0 and 1.1 devices plugged
    4. Fix some PC Card USB 1.1 device detection failure
    v1.41
    1. Add new feature that system can install driver before device is plugged.
    2. Fix PCMCIA OHCI controller resource assign issue on Windos ME.
    v1.40
    1. Support Win9X/ME/2K/XP with ULi USB 2.0 driver.
    2. Fix PCMCIA EHCI controller detecting USB 2.0 device problem in Win9X/ME.
    v1.32
    1. Fix issue that driver can't detect Microsoft driver in Windows XP
    if OS path is not c:\windows.
    2. Fix issue that driver can't detect USB 2.0 controller device in in some system.
    v1.31
    1. Fix issue that driver can't install on Windows 2000.
    v1.30
    1. Fix issue that Win9X/ME shows no USB 2.0 Root Hub.
    2. Fix issue that hanging up when second entry into Win9X S1 with HID device plugged.
    3. Fix issue that sometimes when you click "Scan for hardware changes".
    to PNP ULi USB2.0 controller, system will informs you the usbehci.sys
    file can't be found.
    4. Fix issue that v1.20 finds no EHCI controller to install driver for after different
    verison of ULi EHCI controller devices are plugged and unplugged.
    5. Support installing driver for more than one ULi EHCI controller devices existing on
    system at the same time.
    6. Fix Win2K/XP shows USB Root Hub for USB 2.0 Root Hub.
    v1.20
    1.Support ULi USB 2.0 Host controller driver for Windows 98SE/ME/2000/XP.
    ULi Coporation. (ULi) web sites:
    http://www.uli.com.tw/ (Taiwan)
    CAN ANYONE TREAT ME LIKE A TWO YEAR OLD AND GIVE SOME GUIDANCE AS TO HOW TO ACHIEVE THIS UPDATE .
    i WOULD BE VERY GRATEFULL AND KIND OF THINK IT WOULD BE BENIFICIAL TO A LOT MORE PEOPLE AS I SEE A LOT OF XP AND PROBLEMS OF THE KIND THIS UPDATE IS SUPPOSED TO FIX .

    It says above 2 relevant and 1 correct answere available .............
    I'm new here so could anyone direct me to these answeres?

  • How to send an updated list using batch job

    Hi All,
      The program displays data on the screen, if the data looks ok, then there is an option to update.
    When I run update, the program submits a batch job and the basic list gets updated, but my batch job is still sending the data on the screen. how can i send the updated list using batch job.
      Ex: output of the program
                    1         2
           there is an update button on the screen, when i press update button, my program submits in batch job, the above list becomes
                    1        2
                    3        4
    but when i check the spool, it shows the o/p as         1           2 ..it is not sending the updated list.
    Please suggest me how to send the updated data
    Thanks,
    Kumar

    Hi Krishna,
      I have added a button on the alv list. when i press update button, my program updates the list, then submits the batch job. I am attaching the sample test program i am trying with, please suggest me how can i get the updated list.
    *& Report  ZTESTSSSSS
    REPORT  ZTESTSSSSS.
    DATA: gt_fieldcat TYPE slis_fieldcat_alv,
          lt_fieldcat type slis_t_fieldcat_alv,
          gt_sort     TYPE slis_t_sortinfo_alv,
          g_repid     LIKE sy-repid,
          gt_layout   TYPE slis_layout_alv.
    start-of-selection.
      lt_return-type = 'S'.
      lt_return-message = 'test message'.
      append lt_return.
      CLEAR gt_fieldcat.
      gt_fieldcat-fieldname = 'TYPE'.
      gt_fieldcat-outputlen = '3'.
      gt_fieldcat-tabname   = 'LT_RETURN'.
      gt_fieldcat-seltext_l  =  'Type'.
      gt_fieldcat-seltext_m  =  'Type'.
      gt_fieldcat-seltext_s  =  'Type'.
      APPEND gt_fieldcat TO lt_fieldcat.
      CLEAR gt_fieldcat.
      gt_fieldcat-fieldname = 'MESSAGE'.
      gt_fieldcat-outputlen = '15'.
      gt_fieldcat-tabname   = 'LT_RETURN'.
      gt_fieldcat-seltext_l  =  'Message'.
      gt_fieldcat-seltext_m  =  'Message'.
      gt_fieldcat-seltext_s  =  'Message'.
      APPEND gt_fieldcat TO lt_fieldcat.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = sy-repid
          I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
          I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
          IT_FIELDCAT              = lt_fieldcat
        TABLES
          T_OUTTAB                 = lt_return
        EXCEPTIONS
          PROGRAM_ERROR            = 1
          OTHERS                   = 2.
    *&      Form  set_pf_status
          text
         -->RT_EXTAB   text
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDARD'.
    ENDFORM. "Set_pf_status
    *&      Form  user_command
          text
         -->R_UCOMM      text
         -->RS_SELFIELD  text
    FORM user_command USING r_ucomm     LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      DATA: li_count TYPE I.
      IF r_ucomm EQ 'UPD'.
    Adding another message
        lt_return-type = 'S'.
        lt_return-message = 'Another test message'.
        APPEND lt_return.
        rs_selfield-refresh = 'X'.
        rs_selfield-col_stable = 'X'.
        rs_selfield-row_stable = 'X'.
        l_upd = 'X'.
       LOOP AT lt_return.
         WRITE: / lt_return-type, lt_return-message.
       ENDLOOP.
        IF sy-batch IS INITIAL.
          l_upd = 'X'.
    Open the Job
          CALL FUNCTION 'JOB_OPEN'
            EXPORTING
              jobname          = w_name
            IMPORTING
              jobcount         = w_number
            EXCEPTIONS
              cant_create_job  = 1
              invalid_job_data = 2
              jobname_missing  = 3
              OTHERS           = 4.
          IF sy-subrc = 0.
            SUBMIT ('ZTESTSSSSS') VIA JOB w_name NUMBER w_number
                    AND RETURN
                    WITH p_recnnr = p_recnnr.
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
                jobcount             = w_number
                jobname              = w_name
                strtimmed            = 'X'
              EXCEPTIONS
                cant_start_immediate = 1
                invalid_startdate    = 2
                jobname_missing      = 3
                job_close_failed     = 4
                job_nosteps          = 5
                job_notex            = 6
                lock_failed          = 7
                OTHERS               = 8.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.  "User_command
    Thanks,
    Kumar

  • How do you position tags in a spreadsheet? Can I eSign more than one tab in a spreadsheet?

    How do you position tags in a spreadsheet? Can I eSign more than one tab in a spreadsheet?

    Using text tags
    https://workspaces.acrobat.com/app.html#d=Bi-SZ3cbVCHwiWBBp-7G7g
    but spreadsheets are quite difficult to predict as they don't typically have a page size defined. If you can do this in Word it'll be easier.
    or convert to pdf before uploading to EchoSign.
    You an upload a spreadsheet with multiple tab and place tags on each tab and all will get converted.

  • HT1338 i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created.

    i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created. As i dont have the access to the earlier id anymore.

    You cannot. The apps are assigned to that Apple ID and there is nothing you can do to change that. You could choose to download them again with the new Apple ID, any paid apps will need to be purchased again.
    Hope that helps.

  • How to use the updated value in the same update statement

    Hello,
    I just wonder how to use the updated new value of other column in the same udpate statement. I am using Oracle 11.2, and want to update the two columns with one update statement as following:
    create table tb_test (id number(5), tot number(5), mon_tot number(5));
    update tb_test set (tot = 15, mon_tot = tot *15) where id = 1;
    ...I would like to update both tot and mon_tot column, the value of mon_tot shall be determinted by the new value of tot.
    Thanks,
    Edited by: 939569 on 1-Feb-2013 7:00 AM

    Edit: example added
    SQL> create table tb_test
      2  ( id number(5)
      3  , tot number(5)
      4  , mon_tot number generated always as (tot*15) virtual
      5  );
    Table created.
    SQL> insert into tb_test (id, tot) values (1, 5);
    1 row created.
    SQL> select * from tb_test;
            ID        TOT    MON_TOT
             1          5         75
    1 row selected.
    SQL> update tb_test
      2  set    tot = 15
      3  where  id = 1;
    1 row updated.
    SQL> select * from tb_test;
            ID        TOT    MON_TOT
             1         15        225
    1 row selected.

  • How can I remove updates from my I-pad

    How can I remove updates from my I pad

    What updates ?
    If you mean from the Updates tab in the App Store app then you can't - any updates that you've downloaded will disappear off that last in 30 days. If you don't want to install an app update then as far as I know they can't be removed from the Updates tab.
    If you want to got back to a previous version of an app then do you have a copy of that previous version anywhere ? If you do then you can delete the app from your iPad (which will also delete its content) and sync back the previous version.
    If you mean an iOS update that you've installed then you can't, downgrading the iOS version isn't supported by Apple.

  • How to read and update the value of property file

    Hi,
    I am not able read the values from property file.
    Please tell me how to read and update the values from property file using Properties class
    This is my property file : - Config.properties its located in D:\newfolder
    Values
    SMTP = localhost
    Now i need to change the value of the SMTP
    New value :
    SMTP =10.60.1.9
    Pls Help me
    Thanks
    Merlin Rosina,

    Post a small (<1 page) example program that forum members can copy and run that demonstrates your problem.

  • How to display the updated data from db to user interface in sruts framewor

    A beginner in this area, I have been able to read a record from a
    MySQL database and populate in jsp form . Now, my goal is to
    allow the user to edit the contents of the form and then update the
    record in MySQL and then display the same in jsp. page
    The scenario in detail
    1)the data is fetched from db and displayed in non-editable format
    2)Next button is clicked
    3)Now in the same jsp page I view the same data from db in editable format
    4)The user is allowed to change the information
    5)Now update button is clicked
    6)the records are updated in the db -Finished doing till this step
    7)But the updated info in non - editable format to be displayed in jsp page is left pending.
    Here is my code for jsp,i want know how to write an action for this,tried doing the same in java and I'm successful.but what I need is how to fetch the updated information in the user interface.
    I've made both editable as well as non editable info in the same page with different actions.
    pl help me,I'm a newbie
    <%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic" prefix="logic" %>
    <%@ page language="java" %>
    <%@ page import="java.util.ArrayList,java.util.Iterator" %>
    <%@ page import="com.finocus.common.container.CustomerDetailsTest;" %>
    <html:html>
    <head>
         <title>CUSTOMER DISPLAY</title>
    </head>
    <body>
         <table width="100%" bgcolor="darkkhaki">
         <tr>
              <td><table width="100%" bgcolor="indigo">
                   <tr>
                        <td><font color="white">Display</font></td>
                        <td><font color="white">Update</font></td>
                        <td><font color="white">Verify</font></td>
                        <td><font color="white">Confirm</font></td>
                   </tr>
                   </table>
              </td>
         </tr>
    <%
              //Container for holding data
              ArrayList list = (ArrayList)session.getAttribute("CUSTOMERDETAILS");
              Iterator itr=list.iterator();
              while(itr.hasNext())
              CustomerDetailsTest cust = (CustomerDetailsTest) itr.next();
              System.out.println("testGetCustomerDetails()-successed. retrieved CustomerDetailsTest="+cust.toString());
    %>
    <%
              //Session for checking whether edit or non-edit mode
              String pageMode = (String)session.getAttribute("CUSTOMER_PAGE_MODE");
              session.removeAttribute("CUSTOMER_PAGE_MODE");
              if(null==pageMode)
                   pageMode = "EDIT";
              if(pageMode.equals("EDIT"))
                   //display data in the form
                   System.out.println("Editable mode");
    %>
              <html:form action="/nonedit">
                   <tr>
              <td><table width="100%" bgcolor="darkkhaki">
              <tr>
                        <td><b><bean:message key="label.id"/></b></td>
                        <td><font color="red"><%=cust.getCusId()%></font></td>
         </tr><br>
         <td>
                             <font color="brown" face="Courier New"><b>
                        <bean:message key="label.Company"/></b>
                        </td><br>
                        <tr>
                   <td><bean:message key="label.cname"/></td>
                   <td><font color="blue"><html:text property="name" value="<%=cust.getCname()%>"/></font></td>
                        <td><bean:message key="label.cphone"/></td>
                        <td><font color="blue"><html:text property="phone" value="<%=cust.getCphone()%>"/></font></td>
              </tr><br>
         <tr>
                   <td><bean:message key="label.caddr1"/></td>
                   <td><font color="blue"><html:text property="address1" value="<%=cust.getCaddress1()%>"/></font></td>
                        <td><bean:message key="label.cemail"/></td>
                        <td><font color="blue"><html:text property="email" value="<%=cust.getCemail()%>"/></font></td>
              </tr><br>
         <tr>
                   <td><bean:message key="label.caddr2"/></td>
                   <td><font color="blue"><html:text property="address2" value="<%=cust.getCaddress2()%>"/></font></td>
                        <td><bean:message key="label.cfax"/></td>
                        <td><font color="blue"><html:text property="fax" value="<%=cust.getCfax()%>"/></font></td>
              </tr><br>
         <tr>
                   <td><bean:message key="label.ccity"/></td>
                   <td><font color="blue"><html:text property="city" value="<%=cust.getCcity()%>"/></font></td>
                        <td><bean:message key="label.czip"/></td>
                        <td><font color="blue"><html:text property="zip" value="<%=cust.getZip()%>"/></font></td>
              </tr><br>
         <tr>
                   <td><b><bean:message key="label.cstate"/></b></td>
                   <td><font color="red"><html:text property="state" value="<%=cust.getCstate()%>"/></font></td>
         </tr><br>
         <td>
                             <font color="brown" face="Courier New"><b>
                        <bean:message key="label.Admin"/></b>
                        </td><br>
         <tr>
                   <td><b><bean:message key="label.AAname"/></b></td>
                   <td><font color="red"><html:text property="adminname" value="<%=cust.getAname()%>"/></font></td>
         </tr><br>
         <tr>
                   <td><b><bean:message key="label.AAemail"/></b></td>
                   <td><font color="red"><html:text property="adminemail" value="<%=cust.getAemail()%>"/></font></td>
         </tr><br>
         <tr>
                   <td><b><bean:message key="label.AAphone"/></b></td>
                   <td><font color="red"><html:text property="adminphone" value="<%=cust.getAphone()%>"/></font></td>
         </tr><br>
         <td>
                             <font color="brown" face="Courier New"><b>
                        <bean:message key="label.User"/></b>
                        </td><br>
         <tr>
                   <td><b><bean:message key="label.AUname"/></b></td>
                   <td><font color="red"><html:text property="adminusername" value="<%=cust.getUname()%>"/></font></td>
         </tr><br>
         <tr>
                   <td><b><bean:message key="label.AUemail"/></b></td>
                   <td><font color="red"><html:text property="adminuseremail" value="<%=cust.getUemail()%>"/></font></td>
         </tr><br>
              <tr align="center">
                        <td><html:cancel value="Cancel"/>
                        <html:submit value="Next"/></td>
              </tr>
              </html:form>
    <%               
              }else
                   //display data in the text
                   System.out.println("Non-Editable mode");
    %>
              <html:form action="/edit">
              <tr>
              <td><table width="100%" bgcolor="darkkhaki">
                   <tr>
                        <td><b><bean:message key="label.id"/></b></td>
                        <td><font color="red"><%=cust.getCusId()%></font></td>
                        <td><b><bean:message key="label.status"/></b></td>
                        <td><font color="red"><%=cust.getStatus() %></font></td>
         </tr><br>
         <td>
                             <font color="brown" face="Courier New"><b>
                        <bean:message key="label.Company"/></b>
                        </td><br>
                        <tr>
                   <td><bean:message key="label.cname"/></td>
                   <td><font color="blue"><%=cust.getCname()%></font></td>
                        <td><bean:message key="label.cphone"/></td>
                        <td><font color="blue"><%=cust.getCphone()%></font></td>
              </tr><br>
         <tr>
                   <td><bean:message key="label.caddr1"/></td>
                   <td><font color="blue"><%=cust.getCaddress1()%></font></td>
                        <td><bean:message key="label.cemail"/></td>
                        <td><font color="blue"><%=cust.getCemail()%></font></td>
              </tr><br>
         <tr>
                   <td><bean:message key="label.caddr2"/></td>
                   <td><font color="blue"><%=cust.getCaddress2()%></font></td>
                        <td><bean:message key="label.cfax"/></td>
                        <td><font color="blue"><%=cust.getCfax()%></font></td>
              </tr><br>
         <tr>
                   <td><bean:message key="label.ccity"/></td>
                   <td><font color="blue"><%=cust.getCcity()%></font></td>
                        <td><bean:message key="label.czip"/></td>
                        <td><font color="blue"><%=cust.getZip()%></font></td>
              </tr><br>
         <tr>
                   <td><b><bean:message key="label.cstate"/></b></td>
                   <td><font color="red"><%=cust.getCstate()%></font></td>
         </tr><br>
         <td>
                             <font color="brown" face="Courier New"><b>
                        <bean:message key="label.Admin"/></b>
                        </td><br>
         <tr>
                   <td><b><bean:message key="label.AAname"/></b></td>
                   <td><font color="red"><%=cust.getAname()%></font></td>
         </tr><br>
         <tr>
                   <td><b><bean:message key="label.AAemail"/></b></td>
                   <td><font color="red"><%=cust.getAemail()%></font></td>
         </tr><br>
         <tr>
                   <td><b><bean:message key="label.AAphone"/></b></td>
                   <td><font color="red"><%=cust.getAphone()%></font></td>
         </tr><br>
         <td>
                             <font color="brown" face="Courier New"><b>
                        <bean:message key="label.User"/></b>
                        </td><br>
         <tr>
                   <td><b><bean:message key="label.AUname"/></b></td>
                   <td><font color="red"><%=cust.getUname()%></font></td>
         </tr><br>
         <tr>
                   <td><b><bean:message key="label.AUemail"/></b></td>
                   <td><font color="red"><%=cust.getUemail()%></font></td>
         </tr><br>
         <tr align="center">
                        <td><html:submit value="Update"/></td>
              </tr>
              </html:form>
    <%
    %>
    <%
    %>
                   </table>
              </td>
              </tr>
         </table>
    </body>
    </html:html>

    u r using action classes. so after calling the insert method in Action Class to a dao... the next statement should be retrieve statement. so at the time of updating first it will get updated.. the next statement it will execute is retrieve and then set these details in VO or FORM and show it on JSP
    Message was edited by:
    leo_michael

  • Missing update for a game app after updating ios7 any ideas how to get the update

    Went to update a game app this morning, had already hit update when the i os7 update screen popped went through with the ios update but after ipad restarted the game update is completely missing any ideas how to get the update back no luck so far

    Hello THEVIN7
    The next step if it is not updating, would be to delete the app and then download it again. Check out the general troubleshooting for apps purchased form the App Store.
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/ts1702
    Regards,
    -Norm G.

  • How to change position for items in shopping cart

    Hello,
    I am creating shopping cart using flat file. But i am not able to change the position for items i.e. both items contain position as 0000000001.
    Following are the item details of shopping cart which is created through portal. (from tcode BBP_PD)
    Items:
    Pos Type Quantity Unit Ordered_Prod Description Gross price
    0000000001 1 EA keyboard 100,00
    0000000002 1 EA CPU 1.000,00
    Following are the item details of shopping cart which is created using flat file & BAPI BBP_PD_SC_CREATE.(from tcode BBP_PD)
    Items:
    Pos Type Quantity Unit Ordered_Prod Description Gross price
    0000000001 1 EA MONITOR 1,00
    0000000001 1 EA MONITOR 1,00
    Position is not getting changed for item 2 & only first record is getting uploaded 2 times. My code is creating Shopping cart number .
    Please tell me how to change position of each item.
    Thanks & regards,
    Edited by: Ketkee Bhale on Sep 14, 2011 3:58 PM

    Moderator message - Cross post locked
    Rob

  • I bought pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    I bought Pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    All apps are always tied to the account from whaich they were purchased and will always have to be updated using that account.
    Just because the e-mail account is shut down, has nothing to do with the itunes account. Why did you create a new account?  Why not just change the e-mail associated with the old account?

  • What has caused an app I purchased (Family Tree Maker for Mac) and currently have installed, to disappear from the Mac Store. Does this mean it is no longer sold?  If so, how will I get update notices or re-download if needed?

    I purchased and installed Family Tree Maker for Mac from the App Store about 6 months ago.  I heard that possibly a new version was coming, though I had not received any update notice.  I went to the App Store and it no longer shows the app, either as available for purchase or as an app I have previously purchased.  So I can't get any information on the app, support, etc..  How can an app I have purchased disappear from the purchased list???  How can I get update information or support links? (contacted FTM website and phone support and they said if I bought my program from App store, I have to get update information there).....the Update Info button in my program is actually greyed out!!  So the program I bought doesn't even have the normal update link!!  I thought one of the advantages of App Store purchase was being able to redownload the program in the unlikely event it was lost....ie: no need to worry about having the install CD.  So now I only have my installed, operating copy and no way to reinstall if it crashes due to corrupt data, etc.!!  Not a happy result from an App Store purchase!  And I must say the circular references in the support link are frustarting...apparently there is NO live support for the App Store itself!

    Thanks for THAT tip: iTunes acct. history DOES show my (few) Mac app purchases, buried in with my MANY iPhone and iPad apps!  So I CAN prove I bought it (7 months ago, not 6), but you wouldn't know it from the App Store app on my Mac!  But that does leave a few other ?'s hanging: like how could I download it again, or check for updates (as I said, the version installed has the "update" button greyed out!  Ancestry.com (who sells it online and support it for other buyers said update info for App Store purchasers comes through the App Store. 
    I may just be out of luck with this because after 7 months of ownership, they (Ancestry) just replaced FTM with a new version (Family Tree Maker for Mac2) that is NOT an upgrade (though prior owners get $4.00 off on a $52.00 purchase!!).  I'll probably just plump for that....direct from Ancestry.com...and give up on the Mac App Store, because the new version reportedly has major enhancements in sync-ing your family history record between your computer and the cloud program available online.  Genealogy software, like everything else is migrating to the cloud, but one really does need a resident program on their device because you're often collecting data "in the field" in libraries, historical archives, cemeteries, etc. where you really can't get online in many cases.  Fortunately, more and more of the source data is coming online, so more and more can be done from home!

Maybe you are looking for