Different results of exactly the same query

Hello

I wrote a function to calculate the days between 2 dates. If I am running in SQL Developer or directly on the oracle server, I get the results I expected. However, if I run on a client by using ODBC, or PHP connection via the OCI8 extension, I get an incorrect result.

The function takes 2 parameters: 1st and 2nd date and should output the number of non-working days (weekends and holidays) between 2 dates. The coding is not very pretty, but it does not work very well as I said since the client SQL Developer.

Here is the code:
create or replace
FUNCTION NON_WORKDAYS(fromdate IN DATE, todate IN DATE)
--Function to calculate non working days between 2 given dates (Weekends & Bank Holidays)
--Update: Added in a calendar for bank holidays. Bank holidays are listed to the end of 2013

RETURN NUMBER IS
BANK_HOLS NUMBER;
    ret NUMBER;
BEGIN
    SELECT count(mydate) INTO ret FROM 
 (SELECT     TO_DATE (fromdate, 'dd-mon-yyyy hh24:mi:ss') + LEVEL - 1 mydate
                FROM DUAL
           CONNECT BY LEVEL < =
                            TO_DATE (todate, 'dd-mon-yyyy hh24:mi:ss')
                          - TO_DATE (fromdate, 'dd-mon-yyyy hh24:mi:ss')
                          + 1)
     WHERE TO_CHAR (mydate, 'DY') IN ('SAT', 'SUN');
     
     
     select count(mydate) into BANK_HOLS from (
     SELECT     TO_DATE (fromdate, 'dd-mon-yyyy hh24:mi:ss') + LEVEL - 1 mydate
                FROM DUAL
           CONNECT BY LEVEL < =
                            TO_DATE (todate, 'dd-mon-yyyy hh24:mi:ss')
                          - TO_DATE (fromdate, 'dd-mon-yyyy hh24:mi:ss')
                          + 1
     )
     WHERE TO_CHAR (mydate, 'DD-MM-YYYY') IN 
     ('03-01-2011', 
     '22-04-2011',
     '25-04-2011',
     '29-04-2011',
     '02-05-2011',
     '30-05-2011',
     '29-08-2011',
     '26-12-2011',
     '27-12-2011',
     '02-01-2012',
     '06-04-2012',
     '09-04-2012',
     '07-05-2012',
     '04-06-2012',
     '05-06-2012',
     '12-07-2012',
     '27-08-2012',
     '25-12-2012',
     '26-12-2012',
     '01-01-2013',
     '29-03-2013',
     '01-04-2013',
     '06-05-2013',
     '27-05-2013',
     '12-07-2013',
     '26-08-2013',
     '25-12-2013',
     '26-12-2013'
     );
     ret:= ret + BANK_HOLS;
     
    RETURN ret;
end;
The problem is only with certain dates. For example, if I use the date '17-SEP-2012' for the two input parameters, I'm waiting for a result draw. In the SQL Developer client, I get the expected result. However, using ODBC or PHP OCI8 (which I believe is using a direct connection to TNS in the DB), the result returned is '1', which is incorrect ("17-SEP-2012" has been a MONDAY ""). If I use the current date (20-SEP-2012), I get the expected (zero) result in both the SQL Developer client and ODBC/PHP client.

I also tried to use variants of SYSDATE in place and place the date string, to see if I get different results (i.e. today is 20-SEP-2012, so I used SYSDATE-3 to 17-SEP-2012).

To be clear, I call the function in a select statement: select (sysdate-3, sysdate-3) non_workdays of the double; or select non_workdays (TO_DATE('17-SEP-2012'), TO_DATE('17-SEP-2012')) of double;

I have spent hours and hours of troubleshooting this, and it makes me crazy!

I also checked the view V$ SQLAREA the Oracle DB to see what is actually passed to the ODBC client database engine. I was expecting the statement became corrupted somehow, that's why I get strange results, but this was not the case. The statement in the column SQL_FULLTEXT of V$ SQLAREA, showed exactly the statement I performed on the ODBC Client. I tried with the oracle instantclient and full client (10g).

Can someone help save my sanity please? I am eternally grateful!

Sorry for the massive post!

Published by: user12199535 on 20-Sep-2012 12:20

Your code is a mess. You convert DATE to DATE, e.g. TO_DATE (fromdate, 'dd-mon-yyyy hh24:mi:ss'). TO_DATE function first parameter is a string, while fromdate is the date. That's why Oracle implicitly converts fromdate to the string of default date format that is client dependent and therefore can produce different results on different customers boxes. In addition, your code is dependent on NLS. If the customer has other date language settings, for example German, Sun and SAT are false. And there is no need to separately calculate the weekends and holidays:

create or replace
  FUNCTION NON_WORKDAYS(fromdate IN DATE, todate IN DATE)
  --Function to calculate non working days between 2 given dates (Weekends & Bank Holidays)
  --Update: Added in a calendar for bank holidays. Bank holidays are listed to the end of 2013
    RETURN NUMBER
    IS
        BANK_HOLS NUMBER;
        ret NUMBER;
    BEGIN
        SELECT  count(mydate)
          INTO  ret
          FROM  (
                 SELECT  trunc(fromdate) + LEVEL - 1 mydate
                   FROM  DUAL
                   CONNECT BY LEVEL < = trunc(todate) - trunc(fromdate) + 1
                )
          WHERE TO_CHAR(mydate,'DY','NLS_DATE_LANGUAGE = ENGLISH') IN ('SAT','SUN')
             OR mydate IN (
                           DATE '2011-01-03',
                           DATE '2011-04-22',
                           DATE '2011-04-25',
                           DATE '2011-04-29',
                           DATE '2011-05-02',
                           DATE '2011-05-30',
                           DATE '2011-08-29',
                           DATE '2011-12-26',
                           DATE '2011-12-27',
                           DATE '2012-01-02',
                           DATE '2012-04-06',
                           DATE '2012-04-09',
                           DATE '2012-05-07',
                           DATE '2012-06-04',
                           DATE '2012-06-05',
                           DATE '2012-07-12',
                           DATE '2012-08-27',
                           DATE '2012-12-25',
                           DATE '2012-12-26',
                           DATE '2013-01-01',
                           DATE '2013-03-29',
                           DATE '2013-04-01',
                           DATE '2013-05-06',
                           DATE '2013-05-27',
                           DATE '2013-07-12',
                           DATE '2013-08-26',
                           DATE '2013-12-25',
                           DATE '2013-12-26'
                          );
        RETURN ret;
end;
/

SY.
P.S. I think that I converted your vacation to literals correctly, but still double check date.

Tags: Database

Similar Questions

  • Why I have two different execution plans for the same query on two different servers

    Hello everyone.

    I need your help to solve the problem quickly.

    In a nutshell, we have two servers that have the same version of Oracle RDBMS (11.2.0.4 EE). One of them for purposes of development and another is a production one.

    We have therefore two different execution plans for the same query executed on both servers. The only case of execution is OK and another is too slow.

    So I have to slow down the work of query using the same scheme to explain that young.

    Fence wire.

  • A simple click or two clicks email opens in a new tab. How is it, 2 different actions do exactly the same thing? RESOLVED: bad batteries in the mouse

    In recent months, this has got worse and worse. A click on an email and it automatically opens it in a new tab. This is extremely annoying because I want to continue to see the content of the email in the right panel. Not a new full screen. I can't imagine in any circumstance that would be considered more annoying. I don't see the point. One in 5 clicks works very well. 4 of the 5 clicks opens a new tab. If this isn't a bug, it will open again from 5 to 5 tab but it's not. Please put it to how it was. For now, click 1 or 2 clicks do exactly the same thing!

    This looks more like a mouse or a problem with the OS...

    What platform and what version of TB?

  • I have an object that follows a path and I want another object is placed in a different position, but follow the same exact path?

    I have an object that follows a path and I want another object is placed in a different position, but follow the same exact path? I NEED HELP!

    Easy: Copy and paste images keys, then select all the keyframes in the layer followed and drag them to the left.

    More complex: use expressions - Motionscript.com trails of the creation

  • explain plan for the same query diff

    Hi experts,

    Please, help me understand explain the plan.  I have tow Server (server and two server). The server are same table, even the type of database, even version Oracle (gr 11 (2), same operating system (linux Redhat 5.5) and same table and index.

    but when I explain the plan for the same query on the two server. I got diff--diff to explain the plan. reason it has different, according to my understanding, it should be same. explain please, I share the explain plan and lower indices for the two server.

    Server a

    SQL > col COLUMN_NAME format a20

    SQL > select index_name, column_name, position_colonne from user_ind_columns where table_name = 'LOAN_RUNNING_DETAILS_SOUTH"of order 1.

    INDEX_NAME COLUMN_NAME POSITION_COLONNE

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

    DATE_IND1_S LOANDATETIME 1

    IND_MSI_LN_LNS1_S MSISDN 1

    IND_MSI_LN_LNS1_S LOANDATETIME 2

    IND_MSI_LN_LNS1_S LOANSTATUS 3

    LAST_INDEX L_INDX_MSISDN_S 1

    MSISDN L_INDX_MSISDN_S 2

    SQL > select decode (status, 'N/a', 'Part Hdr', 'Global') ind_type, index_name, NULL nom_partition, status

    2 from user_indexes where table_name = 'LOAN_RUNNING_DETAILS_SOUTH '.

    3 union

    4. Select 'Local' ind_type, index_name, nom_partition, status

    5 to user_ind_partitions where index-name in (select index_name in user_indexes where table_name = 'LOAN_RUNNING_DETAILS_SOUTH')

    6 order of 1,2,3;

    IND_TYPE INDEX_NAME NOM_PARTITION STATUS

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

    Global DATE_IND1_S VALID

    Global IND_MSI_LN_LNS1_S VALID

    Global L_INDX_MSISDN_S VALID

    SQL > explain plan for the small circle of MSISDN, TID, of LOAN_RUNNING_DETAILS_SOUTH where LOANDATETIME < = sysdate-2 and LOANDATETIME > sysdate-15 and LOANTYPE = 1;

    He explained.

    SQL > SQL > set line 200

    @?/rdbms/admin/utlxpls.sql

    SQL >

    PLAN_TABLE_OUTPUT

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

    Hash value of plan: 3659874059

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

    | ID | Operation | Name                       | Lines | Bytes | Cost (% CPU). Time | Pstart. Pstop |

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

    |   0 | SELECT STATEMENT |                            |  1448K |    58 M | 21973 (2) | 00:04:24 |       |       |

    |*  1 |  FILTER |                            |       |       |            |          |       |       |

    |   2.   PARTITION LIST ALL |                            |  1448K |    58 M | 21973 (2) | 00:04:24 |     1.    11.

    |*  3 |    TABLE ACCESS FULL | LOAN_RUNNING_DETAILS_SOUTH |  1448K |    58 M | 21973 (2) | 00:04:24 |     1.    11.

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

    PLAN_TABLE_OUTPUT

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

    Information of predicates (identified by the operation identity card):

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

    1 - filter(SYSDATE@!-2>SYSDATE@!-15)

    3 - filter("LOANTYPE"=1 AND "LOANDATETIME">SYSDATE@!-15 AND "LOANDATETIME"<=SYSDATE@!-2)

    16 selected lines.

    Second server

    SQL > select index_name, column_name, position_colonne from user_ind_columns where table_name = 'LOAN_RUNNING_DETAILS_SOUTH"of order 1.

    INDEX_NAME COLUMN_NAME POSITION_COLONNE

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

    DATE_IND1_S LOANDATETIME 1

    IND_MSI_LN_LNS1_S MSISDN 1

    IND_MSI_LN_LNS1_S LOANDATETIME 2

    IND_MSI_LN_LNS1_S LOANSTATUS 3

    LAST_INDEX L_INDX_MSISDN_S 1

    MSISDN L_INDX_MSISDN_S 2

    SQL > select decode (status, 'N/a', 'Part Hdr', 'Global') ind_type, index_name, NULL nom_partition, status

    2 from user_indexes where table_name = 'LOAN_RUNNING_DETAILS_SOUTH '.

    Union

    3 4 Select 'Local' ind_type, index_name, nom_partition, status

    5 to user_ind_partitions where index-name in (select index_name in user_indexes where table_name = 'LOAN_RUNNING_DETAILS_SOUTH')

    6 order of 1,2,3;

    IND_TYPE INDEX_NAME NOM_PARTITION STATUS

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

    Global DATE_IND1_S VALID

    Global IND_MSI_LN_LNS1_S VALID

    Global L_INDX_MSISDN_S VALID

    SQL > explain plan for the small circle of MSISDN, TID, of LOAN_RUNNING_DETAILS_SOUTH where LOANDATETIME < = sysdate-2 and LOANDATETIME > sysdate-15 and LOANTYPE = 1;

    SQL > set line 200

    @?/rdbms/admin/utlxpls.sql

    SQL >

    PLAN_TABLE_OUTPUT

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

    Hash value of plan: 1161680601

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

    | ID | Operation | Name                       | Lines | Bytes | Cost (% CPU). Time | Pstart. Pstop |

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

    |   0 | SELECT STATEMENT |                            |     2.    84.     5 (0) | 00:00:01 |       |       |

    |*  1 |  FILTER                             |                            |       |       |            |          |       |       |

    |*  2 |   TABLE ACCESS BY INDEX ROWID | LOAN_RUNNING_DETAILS_SOUTH |     2.    84.     5 (0) | 00:00:01 | ROWID | ROWID |

    |*  3 |    INDEX RANGE SCAN | DATE_IND1_S |     2.       |     3 (0) | 00:00:01 |       |       |

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

    PLAN_TABLE_OUTPUT

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

    Information of predicates (identified by the operation identity card):

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

    1 - filter(SYSDATE@!-2>SYSDATE@!-15)

    2 - filter ("LOANTYPE" = 1)

    3 - access("LOANDATETIME">SYSDATE@!-15 AND "LOANDATETIME"<=SYSDATE@!-2)

    17 selected lines.

    Reg,

    Hard

    Hi , HemantKChitale,

    I also update statistics manual as you say, but not see 'TABLE ACCESS FULL' good result

    What should I do? my need of production tuning, but I cannot able tune this...

    SQL > exec dbms_stats.gather_table_stats (-online 'ttt' ownname, tabname => 'LOAN_RUNNING_DETAILS_SOUTH', cascade => TRUE, estimate_percent => NULL, method_opt => 'for all columns size 254', => of degree 4);

    PL/SQL procedure successfully completed.

    SQL > explain plan for the small circle of MSISDN, TID, of LOAN_RUNNING_DETAILS_SOUTH where LOANDATETIME<=sysdate-2 and="" loandatetime="">sysdate-15 and LOANTYPE = 1;

    He explained.

    SQL > set line 200

    @?/rdbms/admin/utlxpls.sql

    SQL >

    PLAN_TABLE_OUTPUT

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

    Hash value of plan: 3659874059

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

    | ID | Operation | Name                       | Lines | Bytes | Cost (% CPU). Time | Pstart. Pstop |

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

    |   0 | SELECT STATEMENT |                            |  1874K |    75 M | 19626 (2) | 00:03:56 |       |       |

    |*  1 |  FILTER |                            |       |       |            |          |       |       |

    |   2.   PARTITION LIST ALL |                            |  1874K |    75 M | 19626 (2) | 00:03:56 |     1.    11.

    |*  3 |    TABLE ACCESS FULL | LOAN_RUNNING_DETAILS_SOUTH |  1874K |    75 M | 19626 (2) | 00:03:56 |     1.    11.

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

    PLAN_TABLE_OUTPUT

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

    Information of predicates (identified by the operation identity card):

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

    1 - filter(SYSDATE@!-2>SYSDATE@!-15)

    3 - filter("LOANDATETIME">SYSDATE@!-15 AND "LOANTYPE"=1 AND "LOANDATETIME")<>

    16 selected lines.

  • Determine the maximum length of a column and its use in the same query?

    I would like to determine the maximum length of a column and use it in the same query. Is this possible? IE:

    SELECT RPAD (last_name, SELECT MAX (LENGTH (last_name)) + 5 FROM user, '-')
    OF the user.

    Thank you

    Hello

    Welcome to the forum!

    jfraley wrote:
    I would like to determine the maximum length of a column and use it in the same query. Is this possible? IE:

    SELECT RPAD (last_name, SELECT MAX (LENGTH (last_name)) + 5 FROM user, '-')
    OF the user.

    Thank you

    Sure. You almost go in your message: a scalar subquery . Just put brackets around the subquery:

    SELECT      RPAD ( last_name
              , (
                 SELECT  MAX (LENGTH (last_name)) + 5
                 FROM    user_tbl          -- USER is not a good table name
                )
              , '-'
              )          AS padded_last_name
    FROM      user_tbl
    ;
    

    Scalar subqueries in SQL are like tape in your garage in canvas: they are used for thousands of different things and open, maybe 1% of them. Usually, there are better ways to achieve the same results, such as the analytical functions:

    SELECT      RPAD ( last_name
              , 5 + MAX (LENGTH (last_name)) OVER ()
              , '-'
              )          AS padded_last_name
    FROM      user_tbl
    ;
    

    Still another way is to make the subquery and then join his game as if it were a table of results:

    WITH     got_max_length     AS
    (
         SELECT     MAX (LENGTH (last_name))     AS max_length
         FROM     user_tbl
    )
    SELECT      RPAD ( u.last_name
              , m.max_length + 5
              , '-'
              )          AS padded_last_name
    FROM           user_tbl     u
    CROSS JOIN     got_max_length     m
    ;
    

    Published by: Frank Kulash, December 12, 2011 21:17
    Added cross join example

  • Different people I have the same address.

    I have a table with columns ADDRESS DISPLAY_NAME, Startdate, Enddate, and ACCOUNT. I need sql to find different people living at the same address. Someone help me please. Thank you.

    Hello

    Welcome to the forum!

    Use the COUNT function to see how many times an ioccurs from the given address and displays only those of a COUNT > 1.
    You can use the COUNT aggregation function or the analytical COUNT function, like this:

    WITH     got_address_cnt     AS
    (
         SELECT     x.*     -- Or list whatever columns you need
         ,     COUNT (*) OVER (PARTITION BY addrress)     AS address_cnt
         FROM     table_x   x
    )
    SELECT       *
    FROM       got_address_cnt
    WHERE       address_cnt     > 1
    ORDER BY  address
    ;
    

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    It's a good idea to do so whenever you have a problem. It allows you to specify exactly what the problem is and allows people to test their ideas.

    Always tell what version of Oracle you are using. The above query will work in Oracle 9 (and), but can be changed to run in Oracle 8.1.

  • FK two in the same query/tabe

    I'm trying to return two fields in the table even through two joins in the same query.

    Take this example:
    : Table
    ID Varchar PK
    Name Varchar
    FK Varchar Person.ID Chief
    Backup of Varchar Person.ID FK

    DATA:
    1 MyProduct 123 345
    2 YouProdct 345 678

    Table: person
    ID Varchar PK
    Name Varchar

    DATA
    John 123
    James 345
    Tom 678

    I need to come back

    RESULT:
    Name Leader Backup
    MyProduct John James
    Tom James YouProdct

    I have a lot of different queries, but I always get what looks like a Cartesian product or a syntax error.

    Thanks in advance

    Published by: jdc114 on March 28, 2009 17:20

    What have you tried? It seems to me

    SELECT product.name, leader.name, backup.name
      FROM product,
           person leader,
           person backup
     WHERE product.leader = leader.id
       AND product.backup = backup.id
    

    would be sufficient.

    Justin

  • How to make the color of the sky, exactly the same thing in multiple images?

    How to make the color of the sky, exactly the same thing in multiple images?

    Bengt Nyman wrote:

    I'm not trying to replace the sky. I want to talk to a group of photos BIF where the percentages of red, green and blue in the sky varies from a few percent, but enough to disrupt continuity within the group. I like t would be able to use the percentages of color to one of the pictures and replicated in others.

    Because the brightness of the sky probably varies from image to image using percentages RGB will not work. What you can use are the values of a and b the laboratory values . Right-click in the inside of the develop module histogram and tick 'Show Lab Color values.' You can ignore the value of L, which is the value of Luminance or brightness. Adjust the blue sky s a b valueusing the Temp WB and sliders dyed until they are the same as your first reference image file. The value determines the color red/green balance if you use the Tint slider to correct the value. The b value determines the color yellow/blue balance if you use the slider Temp to correct its value.

    Remember that setting the base Panel WB with 'fixed' values of b for photos taken under lighting conditions different sky will be the color of the other objects in the image look incorrect (birds, trees, buildings, etc.). In this case, you will need to use the brush setting to paint in the region of the sky and then use its temperature sliders and tinted to change just the color of the sky.

    To be honest I don't know why you feel it's necessary. Maybe you can post two screenshots: 1) with the sky that they way you want to and 2) an image that you want to resolve to match.

  • How to package a different content, so that the same license can be used for all content.

    1) If packing everything at the same time, use the same DRMParameters instance whenever you call MediaEncrypter.encryptContent ().  Everything packed using the exact the same DRMParameters object will be associated with the same license.

    2) If the contents of package at different times, but who want to have all the content associated with the same license, you must use V2KeyParameters.setContentEncryptionKey ().  The first time you compress a piece of content, you would use ContentEncryptionKey.generate () to generate a new key/license ID.  To use the same key/license for the content later, you need to store the info in ContentEncryptionKey, so you can later pass in values for the new content.

    The content of the package at different times using the same license, you must implement the following:

    1. Call ContentEncryptionKey.generate to generate a new key and who deliver the ID.
    2. On your V2KeyParameters, call setContentEncryptionKey and pass the object generated in step 1.
    3. Call MediaEncrypter.encryptContent and pass in the V2KeyParameters (via DRMParameters), as usual.
    4. Store the contents of ContentEncryptionKey, values can be used later.  The key, license ID, and the date of packaging must all be stored.
    5. When you want content extra package using this license, looks for the stored key, license ID and packaging date and pass in the ContentEncryptionKey constructor to create an instance of ContentEncryptionKey.
    6. On your V2KeyParameters, call setContentEncryptionKey and pass the object generated in step 5.
    7. Call MediaEncrypter.encryptContent and pass in the V2KeyParameters (via DRMParameters), as usual.

    Media conditioned to steps 3 and 7 should now be protected using the same license.

  • I'm * because every time I export my project it sounds terrible. How can I just get my project to sound exactly the same as it does when I work on it in a downloadable form. Is it really so difficult

    Im trying to figure out how I can post my project and hear everything exactly the same. Whenever I have the export, it sounds aweful

    Make sure that «normalize "is disabled when you bounce out song.»

    What format bounce you to? Can put you up a screenshot of your bounce window?

    What are playing you your songs back, it's iTunes, for example. Make sure that all the "improvements" in iTunes are disabled because they really screw up playback.

  • Different coloured links on the same page

    If I set up different coloured links on the same page, it does not work on firefox but on other browsers it is fine.
    Example: -.
    a.Yellow:Link {color: #FFFF00}

    Any suggestions?

    Thank you!

    Martin

    http://www.w3schools.com/CSS/css_pseudo_classes.asp

    You have it tired with the color?

  • I noticed that many of my updates there is 2 times. The same exact. Can I safely delete those that are lined and exactly the same thing? Seems I don't need the same exact 2 and 3 updates times.__Thanks__Michael

    I noticed that many of my updates of widows is 2 times. The exact same ones. I can safly remove those that are lined and exactly the same thing? Seems like I don't need at the same time exact windows updates 2 and 3.
    Here's what are installed now that confuses me.
    Running vista Home premium
    version 6.0.6002 Service Pack 2 Build 6002
    PC x 64
    Intel Core 2 Duo CPU T5550 1.83 GHz, 1833 MHz, 2 Lossnay, 2 Log
    4.00 GB
    Microsoft Silverlight
    These files were add and remove.
    Update for Microsoft Visual C++ 2005 ALT kb973923 - x 6...
    Update for Microsoft Visual C++ 2005 ALT kb973923 - x 8...
    Microsoft Visual C++ 2005 Redistributable
    Microsoft Visual C++ 2005 Redistributable
    Update for Microsoft Visual C++ 2005 ALT kb973924 - x 8...
    Microsoft Visual C++ 2005 Redistributable - x 86 9.0.2...
    Microsoft Visual C++ Run Time Setup Lib
    Would it not be better to uninstall all these and start from scratch with Silverlight?
    Or!
    To uninstall only some?
    Very confused about this.
    Some tips would help a lot.
    I think I posted all the files that were related to this as well as information on the system.
    Thank you
    Member of 1care Michael B.

    Mike

    CF. http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/b9132e0a-31ad-4f3c-af7d-8719972453ab

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    ~ 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 have the same problem. whenever I start windows it tells me it is install and configure updates, after 20 minutes he finally - but next time I start exactly the same thing happens - that is every day and im tired of it.

    I have the same problem. whenever I boot windows vista it tells me it is install and configure updates, after 20 minutes he finally - but next time I start exactly the same thing happens - that is every day and im tired of it.

    Hi MartinWithWindowsIssues,

    Welcome to the Microsoft Vista answers Forum!

    I have some steps that may help you.

    Step 1

    Try resetting the component of windows update.

    To do this, click resolve this present in the link below. Click run in the file download dialog box and follow the steps described in the fix it Wizard.

    How to reset the Windows Update components?

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

    Step 2

    Perform a scan of the file system [SFC] checker on the computer that will replace missing or corrupt files.

    To do this, follow the steps below:

    1. click on the Start button

    2. on the Start Menu, click all programs followed by accessories

    3. in the menu accessories, right-click on command line option

    4. in the drop-down menu that appears, click the "Run as Administrator" option

    5. If you have the User Account Control (UAC) enabled, you will be asked permission before the opening of the command line. You simply press the button continue if you are the administrator or insert password etc.

    6. in the command prompt window, type: sfc/scannow then press enter

    7. a message is displayed to indicate that "the analysis of the system will start.

    8. be patient because the analysis may take some time

    9. If all the files need replace SFC will replace them. You may be asked to insert your Vista DVD for this process to continue

    10. If all goes although you should, after the analysis, see the following message "Windows resource protection not found any breach of integrity.

    11. once the scan is finished, close the command prompt window, restart the computer and check.

    For more information, see the link below:

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista

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

    Hope the helps of information. Please post back and we do know.

    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • There was a problem creating the destination folder. If please check the permission of folder or choose a different folder.   What that means, tried to name several different folders, but still the same error message. Would be grateful for the help!

    There was a problem creating the destination folder. If please check the permission of folder or choose a different folder.   What that means, tried to name several different folders, but still the same error message. Would be grateful for the help!

    This means that the folder you want to create is blocked because of file permissions. The drive or folder you are trying to create the destination folder is set to read-only, and your username does not have write permissions.

Maybe you are looking for