Problem with the update statement

Hello

Can someone tell me please the difference between

H1. Select s.name, s.id, d.id, d.name in s, d where s.id = d.id;

and

H1. Select s.name, s.id, d.id, d.name in s d on s.id = d.id inner join;

They give me the same result, but I would like to know how it works internally.

And also

update source X set name =)
H3. Select Y.name in the destination Y where X.id = Y.id
)
where X.id in (select destination id);

Is doing an update

but when

update source set name =)
H3. Select Y.name in the destination source Y X on X.id = Y.id inner join
)
where X.id in (select destination id);

using the above query, I get an error message stating "only query returns multiple lines.

What is the error that I commit here?

Thanks in advance

Sana

Assuming that table destination has PK/UK on id:

SQL> create table source(id number,name varchar2(10));

Table created.

SQL> insert into source(id) select empno from emp
  2  /

14 rows created.

SQL> create table destination(id number,name varchar2(10));

Table created.

SQL> insert into destination select empno,ename from emp
  2  /

14 rows created.

SQL> commit
  2  /

Commit complete.

SQL> update (select s.id,s.name s_name,d.name d_name from source s inner join destination d on s.id = d.id)
  2  set s_name = d_name
  3  /
set s_name = d_name
    *
ERROR at line 2:
ORA-01779: cannot modify a column which maps to a non key-preserved table

SQL> alter table destination
  2    add constraint destination_pk
  3      primary key(id)
  4  /

Table altered.

SQL> update (select s.id,s.name s_name,d.name d_name from source s inner join destination d on s.id = d.id)
  2  set s_name = d_name
  3  /

14 rows updated.

SQL> select * from source
  2  /

        ID NAME
---------- ----------
      7369 SMITH
      7499 ALLEN
      7521 WARD
      7566 JONES
      7654 MARTIN
      7698 BLAKE
      7782 CLARK
      7788 SCOTT
      7839 KING
      7844 TURNER
      7876 ADAMS

        ID NAME
---------- ----------
      7900 JAMES
      7902 FORD
      7934 MILLER

14 rows selected.

SQL> 

SY.

Tags: Database

Similar Questions

  • need help with the Update statement

    Hello
    I received a question in a course and I tried my best to respond, and now my brain is giving. I would really appreciate help with the update statement. I don't mind if you do not validate a solution, a little nudge in the right direction would be really useful. I'll post that I got.

    THE QUESTION
    / * For these agents disabled on more than seven missions, change their date of deactivation of the first date of deactivation of all the agents that have been activated in the same year as the agent that you update currently.
    */

    I have it divided into parts, here is my select statement to agents disabled on more than 7 missions, which produces the deactivation_dates in the agents table that I want to update...
    SELECT
    s.deactivation_date
    FROM
    (
    SELECT
    a.deactivation_date,
    count(m.mission_id) as nomissions
    FROM
    agents a
    INNER JOIN
    missions_agents m
    on
    a.agent_id=m.agent_id
    GROUP BY
    a.deactivation_date
    ) s
    WHERE
    s.nomissions>7 AND s.deactivation_date IS NOT NULL
    .. .and the code for the first date of deactivation for each year of activation agent
    select 
    a2.deactivation_date
    from
    agents a2
    where a2.deactivation_date= 
    (
    select min(a.deactivation_date)
    from 
    agents a
    where to_number(to_char(a.activation_date,'YYYY'))=to_number(to_char(a2.activation_date,'YYYY'))
    )
    ..... I am not real to marry these two statements together in the Update statement. I can't extract each date of deactivation produced in the first select statement and their match against the first date of deactivation in the year they have been activated for the second select statement.

    Any help greatly appreciated... :))

    I began to wonder how things would :)

    user8695469 wrote:
    First of all why he chooses the date the earliest of all agents

    UPDATE  AGENTS_COPY AC /* (1) */
    SET     DEACTIVATION_DATE = (
    SELECT  MIN(AGS.DEACTIVATION_DATE)
    FROM    AGENTS_COPY  AGS
    ,       AGENTS_COPY AC /* (2) */
    WHERE   TRUNC(AGS.ACTIVATION_DATE,'YEAR') = TRUNC(AC.ACTIVATION_DATE,'YEAR') /* (3) */
    )
    

    He recovers as soon as the subquery has not been correctly set in the SET clause. It seems you are trying to update a correlated, but we are still having a conceptual shift. I have added a few comments to your code above and below will explain.

    (1): when you do a correlated update it is useful to the table alias that you did right here.

    (2): this table statement is not necessary and is the reason why the FIRST deactivation date is selected. The alias that you use (3) refers to THIS table, not the one defined in the update statement. Remove the line indicated by (2) in the FROM clause and a correlated update will happen.

    and secondly why is it to update each row, when I thought that I'm just the lines where the agents are disabled and missions > 7? Pointers on where I'm wrong would be very appreciated. (SQL = stupid query language!) :)

    user8695469 wrote: then why is it to update each row, when I thought that I'm just the lines where the agents are disabled and missions > 7? Pointers on where I'm wrong would be very appreciated. (SQL = stupid query language!) :)

    
    WHERE EXISTS
    (
    SELECT
    a.agent_id,
    count(m.mission_id)
    FROM
    agents a
    /* INNER JOIN AC ON AC.AGENT_ID = A.AGENT_ID */
    INNER JOIN
    missions_agents m
    ON
    a.agent_id=m.agent_id
    GROUP BY
    a.agent_id,
    a.deactivation_date
    HAVING
    count(m.mission_id)>7 AND a.deactivation_date IS NOT NULL
    )
    

    Once again this problem is similar to the question above that a correlation update doesn't work. Test existence of lines in an EXISTS subquery. Since your subquery is not related to the table that you are trying to update, it will be always return a line and, therefore, it returns true for EACH LINE in the AGENTS table. To limit the game to only agents > 7 missions results, you need to add a join condition that references the table in your update statement. I added one above (with comments) as a sample.

    I recommend you look over all material that you have associated with correlated subqueries, including documents that I posted above. This seems to be what you're having the problem more with. If you need me to explain the concept of correlated queries any better please let me know.

    Thank you!

  • Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Having a problem with the update of the window. He said that windows could not search for new updates. It's the found error 80245003 code

    Take a look at this article as it addresses this error code. Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I just wanted to know at all, if you encounter a problem with the update of creative cloud as if I was (error 1001), I discovered that my Webroot AntiVirus has been the origin of the problem. I turned it off and it updated correctly. Hope that helps some

    I just wanted to know at all, if you encounter a problem with the update of creative cloud as if I was (error 1001), I discovered that my Webroot AntiVirus has been the origin of the problem. I turned it off and it updated correctly. Hope that helps some people I've seen so angry about it here by searching for the answer myself.

    Thanks for sharing this, yes turning Firewall works.

    Concerning

    Stéphane

  • Problems with the update of Flash Player.

    Problems with the update of Flash Player.

    After download, installation begins, but when the progress bar completes a typical Windows error message appears stating:

    (literal translation from Spanish):

    fallo-install-flash.gif

    "can't find the procedure entry point SetDIIDirectoryW in the dinamic links library KERNELL32.dll.

    IHAVE: windows32, XP + FlashPlayer worm: 11.1.102.55 + MozilaFirefox10.0

    Flash works well, but I can't make a new update since Version: 11.1.102.55

    Please help me, thanks

    You have two options:

  • Performance issue with the Update statement

    Oracle 10204

    I have a problem related to updaing one performance table.
    only 5000 lines should be updated.
    Hir are some details on the tables/M.V concerned:
    TABLE_NAME     LAST_ANALYZED          NUM_ROWS     SAMPLE_SIZE
    PS_RF_INST_PROD     1/20/2010 1:14:22 AM     7194402          7194402
    BL_TMP_INTRNT     1/27/2010 9:08:54 AM     885445          885445
    NAP_INTERNET     1/25/2010 11:47:02 AM     7053990          560777
    I tried to run the update with two options:
    1. with the plan than oracle choose.
    2. with notes I added.
    In both cases I he collapsed after more than an hour.

    Can any one suggest how to speed it up?

    Below are for the two option tkprof.
    Please note that beside the defualt statistics on those tables i also gathered statistics on two column level as followed:
    BEGIN
      SYS.DBMS_STATS.GATHER_TABLE_STATS (
          OwnName        => 'B'
         ,TabName        => 'BL_TMP_INTRNT'
        ,Estimate_Percent  => 100
        ,Degree            => 8
        ,Cascade           => TRUE
        ,No_Invalidate     => FALSE);
    END;
    /
    
    exec dbms_stats.gather_table_stats('B' , 'BL_TMP_INTRNT', cascade=>TRUE, method_opt=>'for columns SERVICE_UID size 254');
    exec dbms_stats.gather_table_stats('B' , 'BL_TMP_INTRNT', cascade=>TRUE, method_opt=>'for columns FIX_IP_USER size 254');
    Plan 1
    UPDATE BL_TMP_INTRNT A
       SET A.FIX_IP_USER =
              (SELECT C.PRODUCT_ID
                 FROM NAP_INTERNET B, PS_RF_INST_PROD C
                WHERE B.INST_PROD_ID = A.SERVICE_UID
                  AND B.SETID = 'SHARE'
                  AND C.INST_PROD_ID = B.NAP_SURF_UID)
     WHERE A.TERM_DESC LIKE '%ip%'
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.03       0.02          0          0          0           0
    Execute      1   1166.64    4803.78   17989002   18792167        117           0
    Fetch        0      0.00       0.00          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total        2   1166.67    4803.81   17989002   18792167        117           0
    
    Misses in library cache during parse: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 13
    
    Rows     Row Source Operation
    -------  ---------------------------------------------------
          0  UPDATE  BL_TMP_INTRNT (cr=0 pr=0 pw=0 time=2 us)
         46   TABLE ACCESS FULL BL_TMP_INTRNT (cr=586400 pr=22228 pw=0 time=15333652 us)
         15   HASH JOIN  (cr=18170453 pr=17931639 pw=0 time=3991064192 us)
         46    MAT_VIEW ACCESS FULL NAP_INTERNET (cr=5659886 pr=5655436 pw=0 time=988162557 us)
    329499624    MAT_VIEW ACCESS FULL PS_RF_INST_PROD (cr=12545734 pr=12311281 pw=0 time=2636471644 us)
    plan 2
    UPDATE BL_TMP_INTRNT A
       SET A.FIX_IP_USER =
              (SELECT /*+ index(b NAP_INTERNET_PK) index(c PS_RF_INST_PROD_PK)*/ C.PRODUCT_ID
                 FROM NAP_INTERNET B, PS_RF_INST_PROD C
                WHERE B.INST_PROD_ID = A.SERVICE_UID
                  AND B.SETID = 'SHARE'
                  AND C.INST_PROD_ID = B.NAP_SURF_UID)
     WHERE A.TERM_DESC LIKE '%ip%'
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.02       0.02          0          0          0           0
    Execute      1   4645.25    4613.70      95783   39798095        735           0
    Fetch        0      0.00       0.00          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total        2   4645.27    4613.73      95783   39798095        735           0
    
    Misses in library cache during parse: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 13
    
    Rows     Row Source Operation
    -------  ---------------------------------------------------
          0  UPDATE  BL_TMP_INTRNT (cr=0 pr=0 pw=0 time=1 us)
        473   TABLE ACCESS FULL BL_TMP_INTRNT (cr=10461 pr=10399 pw=0 time=4629385 us)
        408   MAT_VIEW ACCESS BY INDEX ROWID PS_RF_INST_PROD (cr=39776109 pr=85381 pw=0 time=4605125045 us)
       1350    NESTED LOOPS  (cr=39784584 pr=84974 pw=0 time=4601874262 us)
        470     MAT_VIEW ACCESS BY INDEX ROWID NAP_INTERNET (cr=23569112 pr=50472 pw=0 time=2544364336 us)
        470      INDEX FULL SCAN NAP_INTERNET_PK (cr=23568642 pr=50005 pw=0 time=2540300981 us)(object id 11027362)
        408     INDEX FULL SCAN PS_RF_INST_PROD_PK (cr=16215472 pr=34502 pw=0 time=2057500175 us)(object id 10980137)
    
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file scattered read                       1300        0.50          4.27
      db file sequential read                     85707        0.51         29.88
      latch: cache buffers chains                     1        0.00          0.00
      log file sync                                   1        0.00          0.00
      SQL*Net break/reset to client                   1        0.00          0.00
      SQL*Net message to client                       1        0.00          0.00
      SQL*Net message from client                     1       14.73         14.73
    ********************************************************************************

    The problem in your update statement that is the query in your set clause is executed many times that there are lines in BL_TMP_INTRNT of 'intellectual property' in their column of term_desc. You mentioned there are about 5000, then the query joining NAP_INTERNET with PS_RF_ISNT_PROD is begun 5000 times.
    The trick is to join only once, be updated using join views - provided that it is preserved - key or by using the merge statement.

    Here is an example:

    SQL> create table bl_tmp_intrnt (fix_ip_user,service_uid,term_desc)
      2  as
      3   select level
      4        , level
      5        , 'aipa'
      6     from dual
      7  connect by level <= 5000
      8  /
    
    Tabel is aangemaakt.
    
    SQL> create table nap_internet (inst_prod_id,setid,nap_surf_uid)
      2  as
      3   select level
      4        , 'SHARE'
      5        , level
      6     from dual
      7  connect by level <= 10
      8  /
    
    Tabel is aangemaakt.
    
    SQL> create table ps_rf_inst_prod (product_id,inst_prod_id)
      2  as
      3   select level
      4        , level
      5     from dual
      6  connect by level <= 10
      7  /
    
    Tabel is aangemaakt.
    
    SQL> exec dbms_stats.gather_table_stats(user,'bl_tmp_intrnt')
    
    PL/SQL-procedure is geslaagd.
    
    SQL> exec dbms_stats.gather_table_stats(user,'nap_internet')
    
    PL/SQL-procedure is geslaagd.
    
    SQL> exec dbms_stats.gather_table_stats(user,'ps_rf_inst_prod')
    
    PL/SQL-procedure is geslaagd.
    
    SQL> set serveroutput off
    SQL> update ( select a.fix_ip_user
      2                , c.product_id
      3             from bl_tmp_intrnt a
      4                , nap_internet b
      5                , ps_rf_inst_prod c
      6            where a.term_desc like '%ip%'
      7              and a.service_uid = b.inst_prod_id
      8              and b.setid = 'SHARE'
      9              and b.nap_surf_uid = c.inst_prod_id
     10         )
     11     set fix_ip_user = product_id
     12  /
       set fix_ip_user = product_id
           *
    FOUT in regel 11:
    .ORA-01779: cannot modify a column which maps to a non key-preserved table
    

    Join is one key kept in the case of b.inst_prod_id and c.inst_prod_id are unique. Please refer to the documentation for more information here: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/views.htm#sthref3055

    SQL> alter table nap_internet add primary key (inst_prod_id)
      2  /
    
    Tabel is gewijzigd.
    
    SQL> alter table ps_rf_inst_prod add primary key (inst_prod_id)
      2  /
    
    Tabel is gewijzigd.
    
    SQL> update /*+ gather_plan_statistics */
      2         ( select a.fix_ip_user
      3                , c.product_id
      4             from bl_tmp_intrnt a
      5                , nap_internet b
      6                , ps_rf_inst_prod c
      7            where a.term_desc like '%ip%'
      8              and a.service_uid = b.inst_prod_id
      9              and b.setid = 'SHARE'
     10              and b.nap_surf_uid = c.inst_prod_id
     11         )
     12     set fix_ip_user = product_id
     13  /
    
    10 rijen zijn bijgewerkt.
    
    SQL> select * from table(dbms_xplan.display_cursor(null,null,'allstats last'))
      2  /
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  c7nqbxwzpyq5p, child number 0
    -------------------------------------
    update /*+ gather_plan_statistics */        ( select a.fix_ip_user               , c.product_id            from bl_tmp_intrnt
    a               , nap_internet b               , ps_rf_inst_prod c           where a.term_desc like '%ip%'             and
    a.service_uid = b.inst_prod_id             and b.setid = 'SHARE'             and b.nap_surf_uid = c.inst_prod_id        )
    set fix_ip_user = product_id
    
    Plan hash value: 1745632149
    
    ---------------------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                      | Name            | Starts | E-Rows | A-Rows |   A-Time   | Buffers |  OMem |  1Mem | Used-Mem |
    ---------------------------------------------------------------------------------------------------------------------------------------
    |   1 |  UPDATE                        | BL_TMP_INTRNT   |      1 |        |      0 |00:00:00.01 |      32 |       |       |          |
    |   2 |   NESTED LOOPS                 |                 |      1 |     10 |     10 |00:00:00.01 |      21 |       |       |          |
    |   3 |    MERGE JOIN                  |                 |      1 |     10 |     10 |00:00:00.01 |       9 |       |       |          |
    |*  4 |     TABLE ACCESS BY INDEX ROWID| NAP_INTERNET    |      1 |     10 |     10 |00:00:00.01 |       2 |       |       |          |
    |   5 |      INDEX FULL SCAN           | SYS_C00132995   |      1 |     10 |     10 |00:00:00.01 |       1 |       |       |          |
    |*  6 |     SORT JOIN                  |                 |     10 |    250 |     10 |00:00:00.01 |       7 |   267K|   256K|  237K (0)|
    |*  7 |      TABLE ACCESS FULL         | BL_TMP_INTRNT   |      1 |    250 |   5000 |00:00:00.01 |       7 |       |       |          |
    |   8 |    TABLE ACCESS BY INDEX ROWID | PS_RF_INST_PROD |     10 |      1 |     10 |00:00:00.01 |      12 |       |       |          |
    |*  9 |     INDEX UNIQUE SCAN          | SYS_C00132996   |     10 |      1 |     10 |00:00:00.01 |       2 |       |       |          |
    ---------------------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       4 - filter("B"."SETID"='SHARE')
       6 - access("A"."SERVICE_UID"="B"."INST_PROD_ID")
           filter("A"."SERVICE_UID"="B"."INST_PROD_ID")
       7 - filter("A"."TERM_DESC" LIKE '%ip%')
       9 - access("B"."NAP_SURF_UID"="C"."INST_PROD_ID")
    
    32 rijen zijn geselecteerd.
    
    SQL> rollback
      2  /
    
    Rollback is voltooid.
    

    And it's your current statement. Please note the number of 5000 in the column begins:

    SQL> UPDATE /*+ gather_plan_statistics */ BL_TMP_INTRNT A
      2     SET A.FIX_IP_USER =
      3            (SELECT C.PRODUCT_ID
      4               FROM NAP_INTERNET B, PS_RF_INST_PROD C
      5              WHERE B.INST_PROD_ID = A.SERVICE_UID
      6                AND B.SETID = 'SHARE'
      7                AND C.INST_PROD_ID = B.NAP_SURF_UID)
      8   WHERE A.TERM_DESC LIKE '%ip%'
      9  /
    
    5000 rijen zijn bijgewerkt.
    
    SQL> select * from table(dbms_xplan.display_cursor(null,null,'allstats last'))
      2  /
    
    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------
    SQL_ID  f1qtnpa0nmbh8, child number 0
    -------------------------------------
    UPDATE /*+ gather_plan_statistics */ BL_TMP_INTRNT A    SET A.FIX_IP_USER =           (SELECT
    C.PRODUCT_ID              FROM NAP_INTERNET B, PS_RF_INST_PROD C             WHERE B.INST_PROD_ID
    = A.SERVICE_UID               AND B.SETID = 'SHARE'               AND C.INST_PROD_ID =
    B.NAP_SURF_UID)  WHERE A.TERM_DESC LIKE '%ip%'
    
    Plan hash value: 3190675455
    
    -----------------------------------------------------------------------------------------------------------
    | Id  | Operation                     | Name            | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    -----------------------------------------------------------------------------------------------------------
    |   1 |  UPDATE                       | BL_TMP_INTRNT   |      1 |        |      0 |00:00:00.10 |    5076 |
    |*  2 |   TABLE ACCESS FULL           | BL_TMP_INTRNT   |      1 |    250 |   5000 |00:00:00.01 |       7 |
    |   3 |   NESTED LOOPS                |                 |   5000 |      1 |     10 |00:00:00.02 |      24 |
    |*  4 |    TABLE ACCESS BY INDEX ROWID| NAP_INTERNET    |   5000 |      1 |     10 |00:00:00.01 |      12 |
    |*  5 |     INDEX UNIQUE SCAN         | SYS_C00132995   |   5000 |      1 |     10 |00:00:00.01 |       2 |
    |   6 |    TABLE ACCESS BY INDEX ROWID| PS_RF_INST_PROD |     10 |     10 |     10 |00:00:00.01 |      12 |
    |*  7 |     INDEX UNIQUE SCAN         | SYS_C00132996   |     10 |      1 |     10 |00:00:00.01 |       2 |
    -----------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       2 - filter("A"."TERM_DESC" LIKE '%ip%')
       4 - filter("B"."SETID"='SHARE')
       5 - access("B"."INST_PROD_ID"=:B1)
       7 - access("C"."INST_PROD_ID"="B"."NAP_SURF_UID")
    
    29 rijen zijn geselecteerd.
    

    Kind regards
    Rob.

  • Problems with the update 12/05/09

    I tried several times to install the following updates downloaded by auto update 5/12
    Update of security for Microsoft PowerPoint 2007 (KB957789)
    Update for Microsoft Office System 2007 (KB967642)

    Dungeon updates not only give me an error code 8007066F Windows Update encountered an unknown error. I don't know when I search this error code. Should I try a different approach to the update? I am running Windows Vista Ultimate 32 bit.

    After beating my head against the wall for several hours (days) research and try a lot of different things I contacted the support of Microsoft Office. While there was time, their Tech Support solved the problem that apparently was having problems with the installation of Microsoft Office that would not allow updating. The solution required unistalling all the Office applications, doing some cleaning and then reinstall Office. Once this was done the updates installed successfully, like Service Pack 2. It was required a research engineer - it was way beyond my abilities. I am pleased to say that the problem is solved and I can't stress enough how much I care I just started with this option and saved manny, many hours of time and frustration. Experience with the support person, that I have had - spread over some time - has been remarkable. You save time and headaches - if you find any information on your error code get help from M/S even if you have to pay for it. If your time is worthless as it's well worth.

  • Problems with the update of Windows on Windows 8 and also updated to Windows 8.1.

    Original title: update windows 8 to 8.1

    I really hate this computer is a laptop HP 2000 I got it from a friend and the place its been annoying the * out of me, I try to install the KB update, so I can skip all the other updates and I get an error of BS I use windows update, and I get 188 updates and when im installing the 180th update just white out and stops off the coast while he was on the charger, so I start backup it and now its stuck in an endless loop with the "configuration of the updates to Windows restore changes Failure" he was giving me an infinite loop of spinning points and all I want is to install windows on that 10

    Hi Giovanni,.

    Thank you for your response with the current state of the question.

    I suggest you try directly upgrade to Windows 10 of Windows 8 through the media creation tool.

    I recommend you to check the system requirements for the installation of 10 Windows on the computer.

    https://www.Microsoft.com/en-in/Windows/Windows-10-specifications

    Also communicate with the computer manufacturing and try to confirm if your computer is compatible to install Windows 10 or not.

    If your computer meets all the system requirements, I suggest to use the media creation tool in the link below and choose the option PC this upgrading to Windows 10. Before moving to Windows 10, I recommend you make a backup of important files and folders on the external hard drive.

    https://www.Microsoft.com/en-in/software-download/home

    Let us know if you need further assistance on related issues of Windows and we will be happy to help you.

  • Someone at - it problems with the update to Adobe Acrobat DC latetst 15.006.30172?

    There seems to be a corruption with the last Adobe Acrobat DC udpdate 15.006.30172

    Our users are not able to initiate a review shared on the network server.
    Anyone else having problems with this update?

    THX

    Hello

    Today we released a hotfix that resolves this problem shared his comments that was recently introduced. If you're not already updated to the latest patch, simply open Acrobat and visit help > check for updates to apply this hotfix.

    More details about this release and bug fixes is available here: https://helpx.adobe.com/acrobat/release-note/acrobat-dc-june-02-2016.html

    Please give it a try and let us know.

    Thank you

    -ashu

  • problem with the insert statement

    Hi all

    I'm trying to insert data into xxops_forecast_extract.
    There are two additional territory_id, position_id columns.
    How can I insert data into xxops_forecast_extract with the update instructions below.
           Columns of XXOPS_FORECAST_EXTRACT 
    
            PERIOD_ORDER,           
            SHR_NODE_ID,         
            FORECAST_DEFN_ID,       
            X_SALES_REP_NUM,        
            X_SALES_REP_REF,        
            POSITION_NAME,          
            TERRITORY_NAME,         
            AM_ID,              
            POSITION_LEVEL,         
            FORECAST_ID,            
            PERIOD_ID,              
            FISCAL_PERIOD,         
            PERIOD_START_DATE,      
            PERIOD_END_DATE,        
            TOTAL_COMMIT_PRODUCT,   
            TOTAL_JUDGMENT_PRODUCT,
            TOTAL_COMMIT_SERVICE,   
            TOTAL_JUDGMENT_SERVICE,
            TOTAL_UPSIDE_PRODUCT,   
            TOTAL_UPSIDE_SERVICE, 
            TERRITORY_ID,
            POSITION_ID
        INSERT INTO xxfdev.xxops_forecast_extract(
            PERIOD_ORDER,           
            SHR_NODE_ID,         
            FORECAST_DEFN_ID,       
            X_SALES_REP_NUM,        
            X_SALES_REP_REF,        
            POSITION_NAME,          
            TERRITORY_NAME,         
            AM_ID,              
            POSITION_LEVEL,         
            FORECAST_ID,            
            PERIOD_ID,              
            FISCAL_PERIOD,         
            PERIOD_START_DATE,      
            PERIOD_END_DATE,        
            TOTAL_COMMIT_PRODUCT,   
            TOTAL_JUDGMENT_PRODUCT,
            TOTAL_COMMIT_SERVICE,   
            TOTAL_JUDGMENT_SERVICE,
            TOTAL_UPSIDE_PRODUCT,   
            TOTAL_UPSIDE_SERVICE )
        SELECT 
            PERIOD_ORDER,           
            NODE_REFERENCE,         
            FORECAST_DEFN_ID,       
            X_SALES_REP_NUM,        
            X_SALES_REP_REF,        
            POSITION_NAME,          
            TERRITORY_NAME,         
            AM_NAME1,               
            POSITION_LEVEL,         
            FORECAST_ID,            
            PERIOD_ID,              
            FISCAL_PERIOD,          
            PERIOD_START_DATE,      
            PERIOD_END_DATE,        
            TOTAL_COMMIT_PRODUCT,   
            TOTAL_JUDGMENT_PRODUCT,
            TOTAL_COMMIT_SERVICE,   
            TOTAL_JUDGMENT_SERVICE,
            TOTAL_UPSIDE_PRODUCT,   
            TOTAL_UPSIDE_SERVICE   
        FROM ESALESFCST.OMF_FORECAST_DATA_FDEV@XXG2C_ECRMS_FDEV_ADMIN.COMPANY.COM;
    
          
         UPDATE xxops_forecast_extract b SET territory_id = (SELECT a.territory_id
             FROM fdev_hier_node_mv a
             WHERE a.shr_node_id = b.shr_node_id
              AND NVL(end_dt,SYSDATE) > SYSDATE) ;
        COMMIT; 
        
        UPDATE xxops_forecast_extract b SET position_id = (SELECT a.row_id 
            FROM s_postn a
            WHERE a.name = 'TD-'||UPPER(b.am_id))
            WHERE position_level = 7
            AND b.am_id IS NOT NULL; 
        COMMIT; 
        
        UPDATE xxops_forecast_extract b SET position_id = (SELECT a.row_id
            FROM s_postn a
            WHERE UPPER(a.desc_text) = UPPER(TRIM(B.POSITION_NAME)))
            WHERE position_level = 7
            AND b.am_id IS NULL;
        COMMIT;
    Thanks in advance.

    You can try with the merger?

  • Problem with the update CFQUERY statement

    I can't get an SQL Update statement works correctly and I am scratching my head as to why.

    The result I get is:

    Syntax error in UPDATE statement

    SQLSTATE 42000
    "SQL UPDATE businesses SET CompanyName ="Insight Data Ltd", Address1 =" 5 Boulevard", address2 =", Address3 = ", city ="Weston-super-Mare", County is"North Somerset", postal code ="BS231NN", OfficeBranch ="BR", contacttitle1 = 'Mr', contactname1 is"Andrew", contactsurname1 ="Scott", contactposition1 ="Owner", mail1 = 'Yes', TelNumber = ' 01934 123456 ', GST = 'no', number of Fax =", FPS = "no", phone =", MPS = 'no', email = '[email protected]', EPS = 'no', Adresse_web =' http://www.insightdata.co.uk', = 'Mr' contacttitle2, contactname2 is"David", contactsurname2 ="Lewis", contactposition2 =" Office Manager " mail2 = 'no', contacttitle3 = 'Mr', contactname3 = ", contactsurname3 =", contactposition3 = "Owner", mail3 = 'no', contacttitle4 = 'Mr', contactname4 = ", contactsurname4 =", contactposition4 is 'Owner', mail4 = 'no', wPVCUfab = 'Yes', wALUinst = 'yes', WHERE companyid = 33415 information
    VENDORERRORCODE-3503
    Idv6 DATA source

    I checked all the data fields are in the correct format, and I don't see why I'm getting a syntax error. Any help on this would be appreciated

    Okay, but it looks like you already have the sql code. Take the query in the error message above and run it in your database. However, I have noticed have a comma between the last column and there WHERE clause.

    wALUinst = 'Yes', WHERE the companyid = 33415 information

    For optional columns, put the first comma to avoid errors due to the leak, or too many commas

    UPDATE Table
    SET column1 = 'value '.
    , Column2 = 'another value '.
    WHERE ID = 123

    Two other points to consider: use cfqueryparam and consider to normalize your table. The names of column as to Contact1, Contact2, Contact3... usually is a sign of his time to normalize.

  • Impossible to solve problems with the update of security for Microsoft NET. Framework SP1 (KB2657424)

    I hope that Microsoft Support will answer this question:

    Homepage of Microsoft Windows Update is re - download and reinstall the same update (KB2657424).

    I was advised to try this link: https://support.microsoft.com/oas/default.aspx?gprid=6527 and it brought me to this page.

    I downloaded Microsoft Fixit 50202, installed and ran, but in "default" mode, since he warned that "aggressive mode" may disrupt other updates.

    It took me 8 hours (using a dial-up access provider) to get through all of the suggestions, including those in the following links:

    http://support.Microsoft.com/kb/910339

    http://support.Microsoft.com/kb/906602

    http://support.Microsoft.com/kb/2657424

    http://www.Microsoft.com/download/en/default.aspx

    I followed the suggestion of Microsoft to visit their site and check out "Review of my update history". Since January 11, 2012, when Microsoft first downloaded the update to in question (KB2657424), it failed. Microsoft has offered by clicking on the Red 'x' next to the 'update failed' to open the info on the reason that has been...

    Error code: 0x01

    Microsoft proposed the search for this error code in this list:

    http://support.Microsoft.com/ph/6527

    The error code is not in this list.

    Microsoft said then click "find solutions," "enter keywords" and click on "search". The result was this message: "Sorry, no result found not to match this criterion."

    As I mentioned earlier, since the first update "failed", I clicked several times on the icon (almost daily), which reappears constantly in my taskbar, asking me to "Reinstall", the update, and these measures have been recorded at yellow end of Microsoft. As I mentioned earlier, the update of security (KB2657424) is already listed in my Add/Remove programs as being installed. The "update history" reveals that a series of 'success' (KB2657424) facilities are recorded as well as "failures".

    I went to Windows Update Microsoft Web page to 'review my update history'.  After analysis of my PC, Microsoft has determined that (KB2657424) "has been downloaded and ready to install," with another update of IE (KB2618444). So I clicked both for "Quick Installation".

    When you are finished, I revisited the "update history review". (KB2657424) has been disabled with the green icon as 'successful', while at the same time, in the right box next, there was a message: "Install Updates (1).» So I clicked it, and another window open with the message that the "high priority update" (KB2657424) had to be installed. Yet once, I clicked on "Install updates". He ended with another successful window "Update."

    Then I clicked to "review update history", and it was registered under the name "successful." But the window beside her reappears at the same time: "Install Updates (1).» I have has. ... It was the 3rd time within an hour. 3 slices of the same update (KB2657424) are now disabled with the green icon as "successful"... but the window side "House of Windows Update" reappeared again with the same message: "Install Updates (1).»

    Then I followed the suggestion of Microsoft to type in the "run command" keywords to the day windows journal. Since the January updates up until this date in February the journal is 428 pages (transferred from Notepad to Microsoft Word.)

    Then I followed the instructions to download the update 'NDP35SP1-KB2657424 - x 86 .exe' (1.3 MB) directly from Microsoft link... http://www.microsoft.com/download/en/details.aspx?...28569.

    As instructed, I proceeded to manually install it in "Safe Mode".

    The result was this message:

    Patch installation (c:\35b7019bd0df08ac0003ec93627c\NDP35SP1-KB2657424.msp) failed on product (Microsoft .NET Framework 3.5 SP1). MSI log: Microsoft .NET Framework 3.5 - KB2657424_20120209_020143359 - Msi0.txt

    I scanned the PC with anti-virus and anti-malware programs, and none of them found any malware or virus in the way of updates from Microsoft. "The 'update' where it is saved in the Microsoft Download link is the only and unique" ""NDP35SP1-KB2657424 - x 86 .exe." The "Update" as it is installed in my Add/Remove programs in the Control Panel is the same.

    However, both "Windows Update Home" to Microsoft Page as well as in my BONES, the "update" continues to override all commands of Windows. Another odd fact, is that this "update" that keeps re - download and reinstall itself is actually partitioned into three parts, and I wonder if they may be "clones". Maybe the Windows Installer Service does not know where to place them, or what to do with them. These are three:

    MSIPatchRegFix - X 86 .exe_

    NDP35SP1-KB2657424 - 86.exe_

    NDP35SP1-KB2657424 - 86.exeQ

    Hi Jeine,

    Follow these methods.

    Method 1: Temporarily disable the security software.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable the antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network at the time the anti-virus software is disabled, your computer is vulnerable to attacks.

    Method 2: Put the computer in a clean boot state to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 3: Follow the steps in the article.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Method 4: You can also manually install updates (KB number) by downloading from the Microsoft Download Center.

    http://www.Microsoft.com/downloads/en/default.aspx

  • Problems with the update IOS 10

    Hello

    I need help.  I updated my iphone 6 more last night at 10 IOS.  The update seemed to have worked, but now I can't sign in with my password ID Apple I get an error "Self-test Failed - there is a connectin to the Apple ID server error" to come after as I try to connect.  In addition, I can't in the itunes and app store apps.  The app just itunes appears blank and the app store app wrote "loading" all the time.  In fact, I have a problem, try to get the majority of my apps work now either.

    The only thing I tried to do to fix the problem is to turn the phone on and off again.  Any suggestions please?

    Jane.

    Greetings anfield5jane,

    I see that after updating your iPhone 6 more last night at iOS 10, you are now unable to connect your Apple ID and password. You get a verification failure message. I know how it is important to ensure that you can use these applications and services.

    I suggest you force by closing the App Store and the iTunes and app reopened to see if you get the same question. The following article will help you: force a nearby application on your iPhone, iPad or iPod touch

    If you notice that helps, try to force, close other applications that have the same problem.

    I would also like to test this on Wi - Fi and cellular data to see if you get the same result.

    Please let us know what happens. We're here to help.

    Best regards.

  • I now have a problem with the update for Windows Live Essentials 2011

    I don't understand how it happened, but maybe someone could enlighten me?

    First of all, I was informed of an update for Microsoft Security Essentials. So of course, I did the update because I didn't want to be protected.

    I don't know if this is related somehow. I think that my update understood also as a Windows Live Essentials package. When I checked my e-mail and instant messaging, I noticed that the format has changed, and now, I think it's the new WLM 2011.

    It may seem very nice and put up-to-date, but it caused a series of serious problems for me. Let me explain:

    First of all, I must clarify that I am disabled and use the speech recognition, Windows speech recognition Dragon NaturallySpeaking both, because I can't use my hands.

    In the original WLM before the update, if I were using Dragon NaturallySpeaking, I was able to dictate with great ease and had no problem. If I wanted to then send the email I would say just 'send' and e-mail would go. With WLM 2011, if I say that now, it does not work.

    It's just a problem that I have. The next problem is much larger. In some cases, Dragon NaturallySpeaking speech recognition will not work and I can't dictate anything. I then have to close WLM completely and then open it again. Then only, it'll work. This happens many times and it's very frustrating, as you can imagine for someone like me.

    Forgive me for saying, it may seem very well with all the new bells and whistles there, but it makes my life a misery at the moment. In my view, there are a lot of bugs that need to be sorted out first with her.

    My question is, can I go back to the original WLM somehow until the update meets my needs? Can I go back to the status quo when WLM 2010 worked well with speech recognition for me?

    If so, can someone tell me how to do what you please?

    If not, then how am I supposed to use these features now?

    Thank you

    HB

    You will find support for Windows Live Messenger in these Windows Live help forums: http://windowslivehelp.com/forums.aspx?productid=2 ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I'm having a problem with the update of the last security update. What can I do?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: problem getting my pc to download the latest security update

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Floyd,

    It helps those answering questions if you provide:

    What version of windows (32-bit or 64-bit) and service pack level.

    you use what browser (exact version).

    What application or antivirus security suite is installed and your current subscription?

    What third-party firewall

    What anti-malware software can be installed.

    What updates you trying to install?
    What error do you get everything when trying to install updates?

    In addition to the information required:

    How to view the log of update windows

    Click Start, and then click Run.

    in the Open box, type%windir%\windowsupdate.log

    and then click ok.

    Scroll down to the last entries find the error codes associated with the last attempt to download/install.

    start at the bottom and work your way up a section that indicates an ERROR, WARNING or FATAL.

    If the appropriate copy and paste the codes of errors in this thread if someone may be able to help you.

    on the other hand, you can find the error code and other suggestions by searching the forum.

    Also check the windows file called Ko folder * .log (* = number of update KB896688 ie) and send the contents of the update has failed.

    This may even provide clues as to why the update failed.

    How to read the windowsupdate.log file:

    http://support.Microsoft.com/?kbid=902093>

Maybe you are looking for