How to join the update and select the statement?

Hello..

As an example, I have a data as below:-
Number Error_code
B78 096666287111
095476785 111 B78
095478551 111 B78
095478550 111 B78
095738629
095738629 111 B78
095738629 111 B78
064915145 111 B78

My question is how can select any number of the table with more number of 10 numbers and Error_code = B78. Then, truncate all bumber to more than 12 digits and set the error_code = null.

My result
Number Error_code
096666287
095476785
095478551
095478550
095738629
095738629
095738629
064915145

Thank you
Balleur

Ballet wrote:
Hello..

I want to talk about the number as below:-
Select * '096666287111' * no, error_code 'B78' Union double all the
Select * '095476785111' *, 'B78' from dual union all
Select * '095478551111' *, 'B78' from dual union all
Select * '095478550111' *, 'B78' from dual union all
Select * '095738629' *, "of all the double union
Select * '095738629111' *, 'B78' from dual union all
Select * '095738629111' *, 'B78' from dual union all
Select * '064915145111' *, 'B78' from dual

The total number as above would be not fixed because the table will be updated daily.

Did you read my post. I told you it's just one example of data you can ignore the with totally would adopt.
>

What the update?... How can I update the exisitng with the output data?

Here is a detailed example.

SQL> create table t
  2  as
  3  select '096666287111' no,'B78' error_code from dual union all
  4  select '095476785111','B78' from dual union all
  5  select '095478551111','B78' from dual union all
  6  select '095478550111','B78' from dual union all
  7  select '095738629','' from dual union all
  8  select '095738629111','B78' from dual union all
  9  select '095738629111','B78' from dual union all
 10  select '064915145111','B78' from dual
 11  /

Table created.

SQL> select * from t
  2  /

NO           ERR
------------ ---
096666287111 B78
095476785111 B78
095478551111 B78
095478550111 B78
095738629
095738629111 B78
095738629111 B78
064915145111 B78

8 rows selected.

SQL> update t
  2     set (no, error_code) =
  3  (select no, error_code
  4     from (select rowid rid,
  5                  case when length(no)>=12 then substr(no,1,9) else no end no,
  6                  case when length(no)>=12 then null else error_code end error_code
  7             from t
  8            where error_code = 'B78'
  9              and length(no)>10) t1
 10    where t.rowid = t1.rid)
 11   where exists(select null from t t1 where error_code = 'B78' and length(no)>10 and t.rowid = t1.rowid)
 12  /

7 rows updated.

SQL> select * from t
  2  /

NO           ERR
------------ ---
096666287
095476785
095478551
095478550
095738629
095738629
095738629
064915145

8 rows selected.

I hope that now get you what I'm doing.

Tags: Database

Similar Questions

  • How to join the forum

    I can't find out how to join the mozilla forum

    For later use, you can click the button "Volunteer for Mozilla Support" on the support.mozilla.org page.

  • I don't see the event live from the URL indicated. How to join the event online please?

    I don't see the event live from the URL indicated. How to join the event online please?

    At the time you posted this question, the STM sessions had not started yet. The event started at 9:00 PT.  Please let me know if you are still experiencing difficulties to connect.

    Note: all sessions will be available for consultation on request after the event is finished at 1:00 pm PT.

    See you soon,.

    LKR

  • Unfortunately, important updates and selection of optional to install updates gives no information.

    Windows Update, you can click on the links "# important updates are available" and "optional updates # are available.
    But since I had a few problems with an update some time ago a got help from MS to sort I don't get no information on updates by following these links and the design of the window is not the same as it used to be.

    Usually there will be a list updates available with code update as "(K477415)" or similar.  Now, however, all I see is an empty box with 2 tabs to the left saying Important and optional. The two tabs are clickable, but nothing happens... no list of the updates available on one of them even if he states clearly he doesn't are updates available in both categories.

    The only thing I can do is have the update then browse the updates, they are in the section of installed updates and selected those to uninstall.  Or simply not install one of them. I can't select or deselect updated as to control those to install because they are not included.

    It seems that windows updates is screwed

    Try these:

    http://support.Microsoft.com/default.aspx/KB/971058

    http://support.Microsoft.com/kb/310747 (should work for vista and 7)

  • How to get the State of the button?

    I want to know how to get the State clicked the button? If it is clicked State or State clicked?

    For ex: I have the following code...

    {( < composants: IconButton id =»bold_btn"largeur =»22" icône =»@Embed('/assets/bold.png')"click ="onBoldClick ()"enabled =" {}this.loadCompleted}"toggle ="true"/ >

    How to find if the "BOLD" button is checked or not?

    this.bold_btn. ???

    Please mark

  • How to install this update and resolve problems of USB and the touchpad?

    I Equium M50 (59th) and am bitten by an update that pulled my touchpad and keyboard. I did the new installation of XP Home and have all updated drivers and everything goes well. The last update, what I can't understand is for
    Ana _2005_10_24_V1.2 driver is for, Standard Open HCD USB Host Controller... X 2 .........

    The update addresses all kinds of questions like I'm having and is an update recommended driver detective, I use offten.

    The problem is that it says uninstall the drivers for the i have installed already and when I do it it hits off my USB mouse me leaving no able to install the new. When I reboot it installs those I don't want not reinstalled.

    This is the read me, off the coast of the new update and really I don't understand to underdstand what to do... .so here it is?
    Driver revision history:
    Twinhan VP704A Driver Release Notes
    -------------------------------------------------------------------------------
    Note:
    1. in the event that the system hangs when running with VP704A, please install ULI
    Host USB 2.0 in \ULiUSB20Driver driver

    2. for XP/SP1, please update with the patch in

    3. in XP/SP1, update driver will crash the system, while the new facility is ok.
    The trick to update driver XP/SP1 is illustrated in the following steps,
    a. uninstall the driver
    b. disconnect and reconnect the USB device
    c. install the driver
    4 to support the controller remotely, please launch Agent.exe in \Agent.
    Further details at \Agent\Readme.txt

    Known issues:
    1 multi-instance is not supported
    2 remote wakeup is not supported
    3. strong use of the processor from analog video/audio capture
    4. bad Signal using color YUY2 format IST
    5 AV sync if audio captured the wrong filter.
    (Difficulty: use the filter "USB Audio Device" in the flow WDM capture device)
    6. noise with analog TV and FM Radio
    (Difficulty: use the filter "USB Audio Device" in the flow WDM capture device)

    Driver revision history:
    -------------------------------------------------------------------------------
    2005-10-24, version: 1.0.2.8
    Bugs fixed and new features:
    1 is not correctly configured.
    -------------------------------------------------------------------------------
    2005-10-21, version: 1.0.2.7
    Bugs fixed and new features:
    1. the firmware version read FLASH OK!
    -------------------------------------------------------------------------------
    2005-10-14, version: 1.0.2.6
    Bugs fixed and new features:
    1.MUtil - access driver empty part lower part of screen when IST!
    2.MUtil - access HCT pilot check fix crash!
    -------------------------------------------------------------------------------
    2005-10-07, version: 1.0.2.5
    Bugs fixed and new features:
    1 tuner turns off when S-Video, Composite.
    -------------------------------------------------------------------------------
    30/09/2005, version: 1.0.2.4
    Bugs fixed and new features:
    1.agent.exe update for repeat bug!
    2.TI5150 sign up to fix video Format!
    -------------------------------------------------------------------------------
    2005-09-29, version: 1.0.2.3
    Bugs fixed and new features:
    1.A pilot of the trial build for multiple access medium. (in the folder "\Multi-Access")
    Note: The filter 'Audio device USB' provided by the system does not support mutil-access.
    2 reset TI5150 when a new frequency is defined
    -------------------------------------------------------------------------------
    2005-09-27, version: 1.0.2.2
    Bugs fixed and new features:
    1. difficulty I2C unstable access on some devices.
    -------------------------------------------------------------------------------
    2005-09-23, version: 1.0.2.1
    Bugs fixed and new features:
    1. analog TV becomes sometimes darker.
    -------------------------------------------------------------------------------
    15/09/2005, version: 1.0.2.0
    Bugs fixed and new features:
    1. difficulty of installation INF for Windows 2000.
    2 FM scan radio policy changed!
    -------------------------------------------------------------------------------
    13/09/2005, version: 1.0.1.9
    Bugs fixed and new features:
    1 USB string serial number not visible with USBView, updated firmware required.
    2. political analysis of FM radio, return of release if PLLOffset > = 9 x 12. 5 kHz
    -------------------------------------------------------------------------------
    13/09/2005, version: 1.0.1.8
    Bugs fixed and new features:
    1. after the passage between AV/D/A several times, video display becomes dark in THDTV 2.61
    -------------------------------------------------------------------------------
    12/09/2005, version: 1.0.1.7
    Bugs fixed and new features:
    1. improve the performance of check channel lock status
    2 pinnacle INF Fix.
    -------------------------------------------------------------------------------
    2005-09-09, version: 1.0.1.6
    Bugs fixed and new features:
    1. Add an audio initialization function.
    -------------------------------------------------------------------------------
    2005-08-31, version: 1.0.1.5
    Bugs fixed and new features:
    1 separation of PAL and NTSC resolution mode.
    -------------------------------------------------------------------------------
    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: version 1.0.1.3
    Bugs fixed and new features:
    1. add remote control interface in digital source filter.
    2.A new remote test tool that contains of the source code in \Test_RC.
    -------------------------------------------------------------------------------
    2005-08-16, version: 1.0.1.2
    Bugs fixed and new features:
    1. Pinnacel & Twinhan driver & file reorg.
    2.VP704A_BDA_Test tool, add a test to the system code.
    3. set the standard infrared protocol of "IRSTANDARD", "IRSYSCODECHECK1" registry keys in the INF file.
    4 firmware update
    -------------------------------------------------------------------------------
    2005-08-15, version: 1.0.1.1
    Bugs fixed and new features:
    1 serial number feature is lost when the audio volume of the TV control
    2.RC6A support CIR
    (This firmware uses GPIO3 (M9207 pin 80) to decode the RC6 Protocol.
    The material must be reworked to connect the M9207 80 pin to the CIR module and the actual
    EEPROM must be flashed with \Firmware\M9207.bin)
    3 Serieal, MAC address and name of device OEM taken in charge.
    Please see for more details on the \Firmware\readme.txt.
    4 Ioclt example source code included.
    -------------------------------------------------------------------------------
    08/08/2005, version: 1.0.0.10
    Bugs fixed and new features:
    1. increase audio volume analog TV.
    -------------------------------------------------------------------------------
    04/08/2005, version: 1.0.0.9
    Bugs fixed and new features:
    1. analog TV Video mode failed.
    -------------------------------------------------------------------------------
    2005-08-03, version: 1.0.0.8
    Bugs fixed and new features:
    1.off - centerf frequency scan + / 125Khz
    2 difficulty program a copy scanned in MCE.
    -------------------------------------------------------------------------------
    02/08/2005, version: 1.0.0.7
    Bugs fixed and new features:
    1.THBDAConsole.exe 'ulFixedBW', 'ulDisableOffFreqScan', 'ulMCEFreqTranslate' bug
    -------------------------------------------------------------------------------
    2005-07-28, version: 1.0.0.6
    Bugs fixed and new features:
    1.THBDAConsole.exe 'ulFixedBW', 'ulDisableOffFreqScan', 'ulMCEFreqTranslate' support
    2. improve the stability of I2C communication.
    3 unify signaling resistance & quality as a THBda ioctl interface.
    4 capture filter lock state control.
    -------------------------------------------------------------------------------
    2005-07-28, version: 1.0.0.5
    Bugs fixed and new features:
    1. the same strength & quality signals as VP7046.
    2 debug build pilot
    -------------------------------------------------------------------------------
    2005-07-21, version: 1.0.0.4
    Bugs fixed and new features:
    1. put the INF update.
    -------------------------------------------------------------------------------
    2005-07-20, version: 1.0.0.3
    Bugs fixed and new features:
    1 improve performance in PCM4
    2 passage of the 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 file from the other file in 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 the host EHCI ULi controller under Windows 98 SE, Windows ME, Windows 2000
    and Windows XP.

    -------------------------
    CONTENTS OF THIS DOCUMENT
    -------------------------

    1. installation instructions
    2. uninstall instructions

    ----------------------------
    1. installation instructions
    ----------------------------

    (Windows 98SE & Windows ME)
    ULi USB 2.0 Controller has strapped on the system
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver files in your Windows system, and then restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller"and install the driver.

    B.If any ULi USB 2.0 on the system controller
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver files to your Windows system, then turn off your computer.
    -Fix the ULi USB 2.0 computer controller card and restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller"and install the driver.

    (Windows 2000)
    ULi USB 2.0 Controller has strapped on the system
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will install and load the driver and you do not have to restart the
    computer.
    B.If any ULi USB 2.0 on the system controller
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver in your Windows system files, before turning itself off
    your computer.
    -Fix the ULi USB 2.0 computer controller card and restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller"and install the driver.

    (Windows XP)
    ULi USB 2.0 Controller has strapped on the system
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -Click "NEXT".
    -This program will install and load the driver and you do not have to restart the
    computer.
    -Once install the driver ULi USB 2.0 successfully. System will detect "USB 2.0 Root '.
    Hub. " Please select "Install the software automatically (recommended)" and then
    Click 'Next' to continue the installation.
    -This program will install and load the driver and you do not have to restart the
    computer.
    B.If any ULi USB 2.0 on the system controller
    1. install the driver USB 2.0 ULi
    -Run the Setup program.
    -This program will copy the driver in your Windows system files, before turning itself off
    your computer.
    -Fix the ULi USB 2.0 computer controller card and restart your computer.
    2. after the system restarts, Windows will detect the new hardware 'ULi PCI to USB Enhanced
    Host Controller', proceed with the installation.
    -Once install the driver ULi USB 2.0 successfully. System will detect "USB 2.0 Root '.
    Hub. " Please select "Install the software automatically (recommended)" and then
    Click 'Next' to continue the installation.

    Notice:
    If you can not configure driver successfully. Please restart your system, then follow
    steps to reinstall driver above.

    ------------------------------
    2. uninstall instructions
    ------------------------------

    1. open the "Control Panel" folder.
    2 call the "Add/Remove Programs" icon
    3 choose the "ULi USB2.0 Driver" section.
    4. click on the "add/delete" button to remove drivers.

    -----------------------------------
    Change list:
    -----------------------------------
    1.74
    1 fix this multi-interface keyboard may not be detected on the USB 2.0 hub.
    2. support all USB2.0 Host Controller.
    1.73
    1 problem on Win98SE, blue screen when you unplug a USB 2.0 Scanner after scanning image.
    2 solve problem on Win98SE, blue screen when you unplug a few Scanner USB 2.0 USB 2.0 Hub after scanning image.
    3 fix on Win98SE, blue screen when copying of files through the hub of UH-204 SUNBOX.
    4 solve problem as wirless lan will disconect when the plug in usb device.

    1.72
    1 fix that system crash when HD USB copy large files.

    1.71
    1. improve the management of power in Win98 / Me.

    1.70
    1. improve the devcie detection function.

    1.62
    1 solve the problem that can not operate a USB HUB USB 2.0 disk when the system resume inactive.

    1.61
    1 solve the problem that some device under USB 2.0 HUB is not found if resumes suspension system.

    1.60
    1. in support of functions power management when a HUB with the USB plug in device
    a root HUB.

    1.57
    1. Fix USB with USB 2.0 HUB floppy cannot detect problem.
    2. fix audio problem that can not display smooth when peripheral USB connect to the system.
    3. fix system cannot detect DVICE USB when the USB device attached to the system in
    suspend mode.
    4 fix when root USB HUB have a full load, USB HD sometimes
    failure of the transaction.

    1.56
    1 fix that device of DVD decoder cannot display correctly.

    1.55
    1. fix OTI USB 2.0 drive hand cannot detect question.
    2. attach the USB mouse cannot be used after the resumption of hanging.

    1.54
    1. to improve the safety of the driver.

    1.53
    1. transfer bulk fix may stop if the USB device is connected to the USB 2.0 hub
    2 difficulty USB 2.0 mass storage device cannot access after the release of the standby mode if there is an another USB 1.1 existing device

    1.52
    1 correct fault of system pages when accessing the storage of mass Win98SE or scandisk device failure when selecting
    automatically fix file system errors
    2. fix system may hang on in Win98SE / ME if USB 2.0 cardbus card is plugged

    v.1.51
    1. to improve the compatibility of USB 2.0 card reader.
    2. fix USB IDE devices are not accessible after the release of the standby/hibernation mode.

    v1.50
    1. improve the transfer block

    v1.48
    1. difficulty of installation of the USB 2.0 LAN driver hangs up
    2. attach a USB 1.1 card reader cannot be identified when plugged into the USB 2.0 hub
    3. fix some laptops starting hanging Win98SE

    v1.47
    1. improve the performance of bulk transfer.
    2. fix the failure of USB 2.0 Preview in bulk webcam.

    v1.46
    1. support USB 2.0 and 1.1 devices isochronous
    2. fix system hang up when restarting system if the USB 2.0 host controller is disabled in Win9X / ME
    3. fix system hang up when you uninstall the driver if there is USB 2.0 connected under Win2K/XP devices
    4. improve the capacity of the device detection in Win9X / ME

    v1.45
    1. fix system hang up when the mode standby ACPI.
    2. attach the mouse sometimes does not disappear when it is unplugged.
    3. fix the failure of detection of composite devices Win9X and improve device composite Win2K/XP

    v1.44
    1. composite crutch
    2 improve the detection of devices

    v1.43
    1 improve the failure rate of transfer IDE read/write with USB 2.0 to IDE bridge on the platform of PC card
    2 difficulty at high peripheral speed detected as full-speed device
    3. fix some problem of failure detection USB mouses
    4. fix some problem USB 2.0 Hub failure detection
    5 difficulty Win98SE crashing if ULi EHCI 1.42 is installed

    v1.42
    1. fix PC Card eject hang up in Win98 / ME
    2 difficulty of interruption/resumption hang up in Win98
    3 sometimes solve USB 1.1 device cannot be detected if OS starts with USB 2.0 and 1.1 devices plugged
    4. fix some failure detection of PC Card USB 1.1 devices

    v1.41
    1. Add new feature that system can install the driver ahead of the device is plugged in.
    2. fix PCMCIA OHCI controller resources affect problem on Windos ME.

    v1.40
    1. support Win9X/ME / 2 K/XP with ULi USB 2.0 driver.
    2 fix PCMCIA EHCI controller detection device USB 2.0 problem in Win9X / me.

    v1.32
    1. Fix problem that pilot cannot detect the Microsoft driver in Windows XP
    If the path of the OS is not c:\windows.
    2. Fix problem that pilot cannot detect the USB 2.0 controller device in a system.

    v1.31
    1. Fix problem that driver cannot install on Windows 2000.

    v1.30
    1 fix than Win9X / shows ME no USB 2.0 hub.
    2 solve the problem that hang up when the second entry in Win9X S1 with HID device connected.
    3 Fix problem that sometimes when you click on "search the hardware changes.
    for PNP ULi USB2.0, controller, the system will inform you the usbehci.sys
    file is not found.
    4. Fix problem that v1.20 can't find no EHCI controller to install the driver for after different
    verison of ULi EHCI controllers devices are connected and disconnected.
    5 install the driver support for several features of controller EHCI ULi existing on
    system at the same time.
    6. determine Win2K/XP shows hub USB root for USB 2.0 hub.

    v1.20
    1. support ULi USB 2.0 for Windows 98SE/ME/2000/XP host controller driver.

    ULi Coporation. (ULi) web sites:
    http://www.Uli.com.tw/ (Taiwan)

    CAN SOMEONE TREAT ME LIKE A CHILD OF TWO YEARS AND GIVE SOME ADVICE AS TO HOW TO OBTAIN THIS UPDATE.

    I'D VERY GRATEFULL AND KIND OF THINK IT would BE BENEFICIAL to a LOT MORE than PEOPLE LIKE I SEE a LOT OF XP AND PROBLEMS OF THE KIND THIS UPDATE IS SUPPOSE to FIX.

    It is said above 2 relevant and 1 right ANSWER available...

    I'm new here, so anyone could direct me to these answers?

  • How to join the tracks on the cd in 12.4.0.119 before importing

    With the help of iMac (mid 2011) Mt. Lion (10.8.5) running with iTunes 12.4.0.119.

    It's been a while since I imported a CD, but I used to be able to reach the slopes before you import.  Is it a new secret way to keep doing this?  I checked with the Apple Support and found an article updated on 26/05/16 describing the process.  However, the last step: "click Options near the top right of the iTunes window and choose Join CD tracks" does not work.  There is an option button, but nothing to do with this symbol.  The button allows to obtain or submit the names of the tracks only and is not located near the top right as described.  What can we do to make sure that I can import my classical music properly?

    Select the CD in iTunes.

    Sorting on the first column with the numbers heading.

    Select the consecutive titles on the CD.

    Then go to the Options at the top right and select the CD tracks join.

  • How to reset the State of package variables in all sessions connected (without requiring a disconnection and a connect) if they are reset in one of connected sessions.


    Hi people,
    Need help, the example requires that the value of packet data 'g_var' must be updated in the session/s connected everywhere without the session/s to be disconnected and reconnected.
    Here's the scenario:

    I created a table my_table having the pair name / value.
    A variable with global package "g_var' in his body and a get accessor method to access g_var variable from the outside world.
    This variable g_var is initialized within the block of the entry into force of the package and retrieves the current value of the variable from my_table.
    When I update the value in the table a trigger on my_table would reset the State of the package and therefore g_var to the most recent value in the same session
    All is well so far since the change in value is reflected in the current session, but if I've already connected session/s
    and I'm trying to retrieve the value of "g_var", it is not updated in already connected sessions and remains the same before the update.
    Can U help please how can I update this value in a session/s connected without having to disconnect and reconnect.
    because if I disconnect and reconect the existing sessions, it seems to show the updated value.

    Thanks in advance.

    Kind regards
    Gaurav Rajput

    Here are the Scripts:


    drop table my_table;
    create table my_table
    (
    my_variable_name varchar2 (100),
    number of my_variable_value
    );

    create or replace package my_package as
    Function get_g_var return number;
    end my_package;
    /

    create or replace package body my_package as
    number of g_var;

    Function get_g_var return number is
    Start
    Return g_var;
    exception
    while others then
    lift;
    end get_g_var;

    procedure init (my_passed_name varchar2) is
    Start
    Select my_variable_value in the g_var from my_table where my_variable_name = my_passed_name;
    exception
    while others then
    raise_application_error (-20004, "I got an error during Init");
    end init;

    Start
    init ('$'); -This is a call to time when the package is loaded into the memory of session
    exception
    while others then
    raise_application_error (-20003, 'Error in my_package');
    end my_pACkage;

    /
    create or replace TRIGGER my_trigger
    BEFORE DELETE OR UPDATE
    ON my_table
    FOR EACH LINE
    declare
    number of my_ret;
    Start
    DBMS_SESSION.modify_package_state (DBMS_SESSION. RESET);
    exception
    while others then
    lift;
    end my_trigger;

    /

    -It is initially set to null
    insert into my_table values ('DOLLAR', 62);
    commit;

    -test value for first time to package loading (62 views)
    Select * from my_table;

    Set serveroutput on

    declare
    my_variable varchar2 (100);
    BEGIN
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    -run the same block of end to start in another session it shows 62. All is well so far
    -check if the value after the update in the same session (shows 38), also check in another before the connected session as well (shows 62 and not 38)
    Update my_table set my_variable_value = 38 where my_variable_name = "DOLLAR";
    commit;

    Select * from my_table;

    Set serveroutput on

    -It displays 38 in this session, but there in an already connected session 62 and only after you log out shows 38
    declare
    my_variable varchar2 (100);
    BEGIN
    -my_variable: = my_package.g_var;
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    Package variables are stored in the private memory (PGA). The value is not visible in the session. A package variable is therefore not approach appropriate to your problem. You can look at in the context of the Application, as Solomon has said.

    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/app_context.htm#CIHFJHCG

  • How to join the PPR a column of radio buttons by extending the controller

    Dear friends,

    I'm working on the extension of controller on page seeded, I have an area of the table and the column has
    option button, now I would like to join the PPR this column of radio buttons.

    How can I join the event fireaction for the column of radio buttons? the code below does not work. Please suggest me
    If it is a medium replacement to do.

    OAMessageRadioButtonBean mcb = (OAMessageRadioButtonBean) webBean.findChildRecursive ("customer");
    FireAction firePartialAction = new FirePartialAction ("clientPPR");
    mcb.setAttributeValue (PRIMARY_CLIENT_ACTION_ATTR, firePartialAction);

    Thanks in advance
    Had

    Published by: 959792 on October 16, 2012 04:39

    HAD,

    Code looks fine, but I think that you need to check if the bean by returning null.

    OAMessageRadioButtonBean mcb = (OAMessageRadioButtonBean) webBean.findChildRecursive ("customer");

    Check the value of mcb by using pageContext.writeDiagnostics. If its return null value then uses findIndexedChildRecursive.

    Kind regards
    GYAN

  • How to join the table in screens LCD

    Hello

    How can I join the tables in the screens LCD and show them in a datagrid?

    I run LCDS3 and tomcat.

    Any help is appricitated

    User (name, surname, address)

    Address (address, State, country, postal code)

    If you want to display data below in your data grid

    ---------------------------------------------------------------------------

    firstName.       lastName.  State

    ---------------------------------------------------------------------------

    user.firstName | user.lastName | User.Address.State

  • How to download all updates and save them for use on other PCs,

    I have 6 what IBM Thinkcentres licensed with XP Professional and the new hard drives. I loaded SP3 and Office Basic, but several updates are needed to update XP, Office, etc. Is there a way I can download all required updates and save for use on all computers, so save bandwidth?

    How to download drivers and updates from the Windows Update Catalog or the Microsoft Update Catalog:
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;323166

    Store updates local Windows for the following facilities - http://windowsxp.mvps.org/saveupdates.htm MS - MVP - Elephant Boy computers - Don ' t Panic!

  • Update and select ask when tablespace in backup mode

    Hello

    I have a question related to the DML statement when the tablespace is in backup mode. Suppose that when putting the tablespace in begin backup mode and then during user times run an update on this tablespace statement and validation of the transaction and any other user run the select query on the same data and image that will appear and where to display the data will be taken.

    steps to follow:

    alter tablespace users begin backup;

    Update emp set sal = 4000 where empno = 101;
    commit;
    Select * from emp where empno = 101;

    Now what result will appear and where data will get.

    Thank you
    Gulshan

    Hello

    alter tablespace users begin backup;
    
    update emp set sal=4000 where empno=101;
    commit;
    select * from emp where empno=101;
    

    As far as I KNOW, the database could function normally and you will not find the difference from the point of view of the transactions. If you check process and the Oracle architecture, bit blurry will be established towards the top and vectors to additional would be saved upward in the newspapers online redo - due to which size of redo would be higher than in normal operations. Second, you must be concerned about the backup - which may not be compatible. In order to better opt for RMAN instead of the user managed backups.

    -Pavan Kumar N

  • How to make the State "out-of-box' again on my Satellite L653-12J

    Hello

    I have been in charge of research and following the instructions but all have failed.
    I'm selling my Toshiba Satellite computer laptop L653-12J with Windows 7 and I would like to clean the hard drive of all the data added to have it back to its out of the box state.

    Please advise me how?
    Thanks and regards,

    Kamal

    Hello Kamal

    How to install the recovery image, which you can read on follow Toshiba document -.
    http://APS2.toshiba-tro.de/KB0/HTD1303440001R02.htm

    It works for you?

  • Operating instructions: how to manually install updates and difficulty stucked relies

    OK I finally got, and here is the update method. It is completely safe and if a problem occurs, it will stop and you can restart your TPT as always.

    Here are the steps :

    1) you have to download the firmware here:

    http://download.Lenovo.com/slates/think/tablet1/

    (seems its not available and they were fired 0075 day, but it will be word for any updates)

    Improtant : If you're on 0052, you must manually install 60, then 65 and 75. In other words, you cannot go from 60 to 75.

    2) you have to paste the firmware in .zip format (exactly as you download it) on your SD card.

    3) restart your TPT. When the screen lights up, start pressing Volume up for several times. You will see that you go to the recovery image, she writes. Wait...

    4) now that you are in recovery mode. with press volume up and down, you can navigate and pressing the button walk / stop, you enter the menu. Choose "install the update from SD card" and choose your firmware (with the sequence) .and wait device finish its work.

    Fact!

    (Edit #1: If you're stuck on an update and the update of your system does not work and also you do not use the manual update - which is not harmful at all - you can follow this method: for example, you're at 0052 - who stucked as many people on this build - if you manually install 0060) , your TPT will update to 0060, DO by WHICH as long AS. just try a few other goofy, which is not the next generation. TPT will try to update it will stop because of the mistake of sequence, but it will fix the update of the OTA system, fun)

    TNX to Hongkong,

    0075_US link:
    http://download.Lenovo.com/slates/think/tablet1/ThinkPadTablet_A310_02_0037_0075_US.zip

  • How to save the State of the checkbox in the database

    HELLO everyone again ;)
    I want to save the State of the checkbox (checked or unchecked, true or false) in the database.

    For example, if the user, check the box and press the validate, then this value (check = true) should be stored in the database (true), and when the user only view this value in another page jspx, then this value should be displayed: checked (true)

    How can I do? What are the data type in the database object and the entity to do this?

    Thank you.

    This could also help
    http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

    concerning
    Grant

  • How to initialize the State of the filter?

    Hello

    In a VI I have continually acquire and filter several different signals (with for example the Butterworth filter or the Butterworth filter point by point). The problem is that whenever I call the filter vi ti eithers begins from a State 0 or state that he had when parsing the previous signal (depending on the Boolean control).

    What I need to do is to read the final State of the filter when it finishes a piece of 'signal' A filtering. Then, the next time I need to filter a piece of the signal, I could feed these values as the initial state to the filter.

    In fact, I opened the VI of Butterworth filter, then inside, I opened the cascade IIR filter inside, and there is shift registers giving access to initial and final of the filter States. But since it's in the Labview libraries, I can't edit them.

    I have also noticed that if I in independent bodies VI of VI for each signal, then each keeps track of its own States. But I have more than 25 different signals (and the number changes all the time) so it's not a viable solution.

    Was the answer, but post here in case someone else has a similar question.

    VI's like filter Cascade IIR with I.C. (initial condition instead of the initial state, that is why I did not before), allow you to initialize the filter and save its State for later. The only thing is you need to do your own coefficients with something like Butterworth Coefficients VI or more. But it is also an advantage, since you do not need to use each iteration time recalculate the.

Maybe you are looking for