Sorting and grouping - two months in this query

Hi all

Thanks a lot for JAC

I am doing a project for the construction company, I faced this problem by grouping points according to the relationship between these points the
Relationship is from 1 to 100. If the point between what means there is relationship between these points has come.

resolve this question already, but the results does not correct when the table contains more data.

SQL - sorting and grouping.
Jac and thanks a lot to him.

This example for more details

for example, I have these points
id   location         percentage   comments 
1     loc 1,2          20%                that mean point  1 and 2 close to each other by 20%
2     loc 1,3          40%              that mean point 1 and 3 close to each other byy 40%
3     Loc 8,6          25%               that mean point 8 and 6 close to each other by 25% 
4     Loc  6,10        20%
5     LOC 11,10        10 %
6     LOC 15,14         0%
In addition, we can see the relationship between these points as follows
-points 1,2,3 in a group why because close 1.2 and 1.3 a relationship which means 1.3 also hid the relationship.
-Points 6,8,10,11 in the second group there are the relationships between them.
- but no relationship between 1, 2 or 3 with any point of 6,8,9,10,11
-as well as no relationship between 15, 14, which means 14 in the third group and 15 in the fourth group.


Whati need?

to group the points that growing a relationship according to the percentage value


The most important part is to group the points. For EXAMPLE, the query below, the gropuing is not correct.

I have the following table with data
drop table temp_value; 
create table temp_value(id number(10),location varchar2(20), percentage number(9)); 
 
 
insert into temp_value values  (1,'LOC 1,2',10); 
insert into  temp_value values (2,'LOC 1,3',0); 
insert into  temp_value values (3,'LOC 1,4',0); 
insert into  temp_value values (4,'LOC 1,5',0); 
insert into  temp_value values (5,'LOC 1,6',0); 
insert into  temp_value values (6,'LOC 2,3',0); 
insert into  temp_value  values(7,'LOC 2,4',0); 
insert into  temp_value values (8,'LOC 2,5',30); 
insert into  temp_value values (9,'LOC 2,6',0); 
insert into  temp_value values (10,'LOC 3,4',0); 
insert into  temp_value values (11,'LOC 3,5',0); 
insert into  temp_value values (12,'LOC 4,5',40); 
insert into  temp_value values (13,'LOC 4,6',0); 
insert into  temp_value values (14,'LOC 6,7',40);
insert into  temp_value values (15,'LOC 7,2',0);
insert into  temp_value values (16,'LOC 8,2',60);
insert into  temp_value values (17,'LOC 8,3',0);
insert into  temp_value values (18,'LOC 3,1',0);
insert into  temp_value values (19,'LOC 9,6',30);
insert into  temp_value values (20,'LOC 11,2',0);
insert into  temp_value values (22,'LOC 12,3',10);
insert into  temp_value values (23,'LOC 19,3',0);
insert into  temp_value values (24,'LOC 17,3',0);
insert into  temp_value values (24,'LOC 20,3',0);
When I used this query, the results is not correct

 with t as
    (select percentage,loc1,loc2,sum(case when percentage = 0 then 1
                       when loc1 in (l1,l2) then 0
                   when loc2 in (l1,l2) then 0
                   when l1 is null and l2 is null then 0
                   else 1
              end) over(order by rn) sm
    from (     select id,location,percentage,
                       regexp_substr(location,'\d+',1,1) LOC1,
                      regexp_substr(location,'\d+',1,2)  LOC2,
                     lag(regexp_substr(location,'\d+',1,1))
                      over(order by percentage desc) l1,
                      lag(regexp_substr(location,'\d+',1,2))
                      over(order by percentage desc) l2,
              row_number() over(order by percentage desc) rn
      from temp_value
      order by percentage desc
        )
  )
   select loc,min(sm)+1 grp
     from(
       select loc,rownum rn,sm
       from(
       select percentage,decode(rn,1,loc1,loc2) loc,sm
       from t a,
            (select 1 rn from dual union all
             select 2 from dual ) b
       order by percentage desc,decode(rn,1,loc1,loc2) asc
      )
   )
    group by loc
   order by min(sm),min(rn);
results


SQL > /.
LOC                         GRP
-------------------- ----------
2                             1
8                             1
6                             2
7                             2
4                             3
5                             3
9                             4
1                             5
12                            6
3                             6
11                           13

LOC                         GRP
-------------------- ----------
19                           14
17                           15
20                           22

14 rows selected.
SQL >


but the just is
Location        group No
2                  1
8                  1
4                  1
5                  1
1                  1
6                  2
7                  2
9                  2
12                 3
3                  3
19                 4
17                 5
20                 6
Thanks in advance.

Published by: Isabelle on November 30, 2012 03:07

OK, I thought an it once again and found out how to include with any such percentage points.
In your example expected output you missed the 11 that's why we got 7 groups now.
The order of the Group 2 and 3 is ambiguous, because the highest percentage of these groups is the same.

with connects as (
select distinct
 loc1
,loc2
,connect_by_root(loc1) grp
,percentage per
from
temp_value
--start with
--percentage != 0
connect by nocycle
(prior loc2 = loc1
or
prior loc1 = loc2
or
prior loc1 = loc1
or
prior loc2 = loc2)
and
percentage != 0
and
prior percentage != 0
)

select
 loc
,dense_rank() over (order by decode(per,0,1,0), grp) grp
from (
select
 loc
,max(grp) keep (dense_rank first order by per desc, grp) grp
,max(per) keep (dense_rank last order by per nulls first) per
from (
select
 loc1 loc
,grp
,per
from connects
union
select
 loc2
,grp
,per
from connects
)
group by
loc )
order by 2,per desc,1

LOC     GRP
2     1
8     1
4     1
5     1
1     1
12     2
3     2
6     3
7     3
9     3
11     4
17     5
19     6
20     7

Think we are done now ;-)
Edited by: chris227 at 30.11.2012 16:46

Edited by: chris227 at 30.11.2012 17:12
order corrected

Edited by: chris227 at 30.11.2012 17:15
simplification, no need to rank in linking subquery

Edited by: chris227 at 30.11.2012 17:26

Tags: Database

Similar Questions

  • Hi, I buy Adobe DC pro now and in two months I will replace my computer. Would I be able to install my Accrobat bought in my new computer?

    Hi, I buy Adobe DC pro now and in two months I will replace my computer. I was able to install my Accrobat bought in my new computer.

    Hi Bruno.

    Yes, you can.

    Licenses are managed by signing with your Adobe Acrobat DC identification code you install Acrobat DC on the new computer, log in and you will work.

    It would be a good idea to disconnect the first, but not required, that you can manage from your Adobe account.

    Mike

  • SQL - sorting and grouping.

    Hello

    I have question posted for two days, but no help of body...
    This link

    You place your order by comparing - SQL Experts pls help

    concerning

    Published by: Ayham on October 8, 2012 02:54

    If I am clear...

    SQL> with t as
      2  (select percentage,loc1,loc2,sum(case when percentage = 0 then 1
      3                     when loc1 in (l1,l2) then 0
      4                 when loc2 in (l1,l2) then 0
      5                 when l1 is null and l2 is null then 0
      6                 else 1
      7            end) over(order by rn) sm
      8  from (     select id,location,percentage,
      9                     regexp_substr(location,'\d+',1,1) LOC1,
     10                     regexp_substr(location,'\d+',1,2)  LOC2,
     11                     lag(regexp_substr(location,'\d+',1,1))
     12                     over(order by percentage desc) l1,
     13                     lag(regexp_substr(location,'\d+',1,2))
     14                     over(order by percentage desc) l2,
     15             row_number() over(order by percentage desc) rn
     16     from temp_value
     17     order by percentage desc
     18       )
     19  )
     20  select loc,min(sm)+1 grp
     21    from(
     22      select loc,rownum rn,sm
     23      from(
     24      select percentage,decode(rn,1,loc1,loc2) loc,sm
     25      from t a,
     26           (select 1 rn from dual union all
     27            select 2 from dual ) b
     28      order by percentage desc,decode(rn,1,loc1,loc2) asc
     29     )
     30  )
     31   group by loc
     32  order by min(sm),min(rn);
    
    LOC                         GRP
    -------------------- ----------
    4                             1
    5                             1
    2                             1
    1                             1
    6                             2
    3                             3
    
    6 rows selected.
    
  • Sorting and grouping and Sub total

    Hello

    I'm looking for some generic advice here, not necessarily a specific technical recommendation.

    We have a requirement for about 15 reports/forms. The reports would be the same layout using the same sets of data, with the exception that they be sorted, grouped and Sub totalled differently.

    Use Adobe Livecycle, can you design a form and then control the behavior of sorting, grouping and Sub totaling somewhat (perhaps via the parameters passed to its interface)? We do not need to allow a user on these differences control.

    I know that something like this is pretty simple in tools such as Crystal Reports, but is possible and practical by using Adobe Livecycle? We probably want to avoid a solution that uses Javascript excessively complex and plentiful.

    We try to use Adobe for something, so it's not really meant?

    Thank you!

    You can render PDF forms during execution using XML as input. If you want to avoid the JavaScript code in the form of coding, you can do all the calculations before generating the XML file. In this scenario, I assume that you have the server software to view the PDF with the dynamic XML data during execution.

    Another option could be written the Java Script in the case of calculated fields to sort / group / total values. Since all your reports use the same provision, it is not so difficult to write code. Propably if you check the PurchaseOrder.xdp form that comes with your samples as well as the installation Designer do you a basic idea on how to calculate the values that you add more lines to the shape.

    If you still have questions, you can always contact me or the team on this forum.

    Thank you

    Srini

  • I bought a monthly subscription to PS and LR two months ago, but still can not download it to my computer. got an error, but now its completely undownloadable.

    After the purchase, so I was unable to download on my computer so I tried it on my wifes computer, he worked on his own, but I can't my programs purchased on this subject, only trial versions. so im stuck. I have LR4.2 on my computer but she discovered my. My D610 Nikon NEF files. so now im really irritated that I can't use everything I bought from Adobe.

    Egman702 please use the steps listed in sign in, activation or connection errors. CS5.5 and later to solve the connection error that prevents your membership being authorized.

  • DISPLAY the Menu SORT BY & GROUP BY in WINDOWS 7 ULTIMATE

    I am interested in learning all about the different boxes in sort it by and Group dialog boxes view - sort in view-group of Windows 7 Ultimate help could have details, but help text fonts are 6-8 or 9-why only officials at Microsoft Corp. know

    I am looking for more information about the dialog boxes for Fort - more Group By - more

    Please consider adding personalization of Windows themes

    After you change the Sort by or Group by folder view settings in a library, you can restore the library in it's default Sort by or Group by folder view by clicking on the revamp by drop-down list on the toolbar (top-right) and clicking Cancel changes.

    If Undo changes don't is not on the list, the library is already set to be seen by its default view Sort by or Group by folder.

    EXAMPLE: "group by" and "sort by" in Windows Explorer
    NOTE: These screenshots, use the column name to "group by" and "sort by". What you see in your window will also depend on what you have the model file and set as .

    OPTION ONE

    Change "sort by" and "group by" view by using the View Menu

    1. open the Windows Explorer folder or library window you want to change the size of icons in the view.

    2 click themenu bar displayitem and select options that arrangement either Sort By or Group by , then select a columnname and ascending or descending for how you want the window arranged by. (See screenshots below)
    NOTE: The names of columns in the view menu bar depend on what you have the model file fixed. You can also click on more to add several options of name of column.

    SECOND OPTION

    Change "sort by" and "group by" view by using the column headers

    Note
    The sort and Group at the top and the option of the stack by down are no longer available in the final Windows 7 RTM. Please their contempt in the screenshots.

    1. open the Windows Explorer folder or library window you want to change the size of icons in the view.

    2. to sort or group by the column headings name Menu

    (A) move your mouse pointer on the name of column that you want to have the organized window items by, and then click the arrow to the right. (See the screenshots below step 3)

    (B) you can now select to Sort by or Group by window by that name of column headers. (See screenshots below)
    NOTE: What you see in your window will also depend on what you have the model file and set as.

    OR

    3. to select to arrange by column name headers
    NOTE: This will allow you to change quickly of name of column titles window is organized by with always using the Sort By or Group By setting that you set in step 2 or ONE OPTION above.

    (A) click on the column header name. (See the screenshots below step 2)
    NOTE: Any name of column headers from the triangle , is one that is organized by the window.

    (B) click on the same column header name until you have the Ascending or Descending order you want. (See the screenshots below step 2)
    NOTE: When the triangle in the name of column headings is directed upwards, then it goes down. If the triangle in the name of column headings is directed downwards, then it is ascending.

    OPTION THREE

    To change to "be represented by" view folders in the libraries

    Note
    Reorganize by is only available in the folders in the library . The Arrange by options vary according to the model of folder in the library folder. All the included files and subfolders in a library will always share the same point of view of folder. You are able to have separate "reorganize by ' display the parameters in each added right-click-> New-> folder created in the library itself however.

    • The Windows search Service must be on Automatic and started to make this option work.
    • Disabling the index in Windows 7 you will be not be able to use reorganize by inlibraries.

    1. open the library folder that you want to change the display of reorganize by files.

    2 click themenu bar displayitem and select reorganize by and the option to use the files in the folder library arranged. (See screenshot below)

    OR

    3 click the toolbar option of reorganize by , then select reorganize by and the drop down menu the menu option for how you want the files in the folder library arranged. (See screenshot below)

    4 all included files in the library will now even reorganize by fixed for these institutions. The library will always open with the same setting of reorganize by he had during its last closure.

    That's right, Source: http://www.sevenforums.com/tutorials/3952-file-folder-arrangement-group-sort-arrange.html

  • Cases and Group by

    I tried to understand what is the problem with a large sql query that does not change what I do.
    Have managed to isolate the part which is a failure, but I get the error message:

    ORA-00979: not a GROUP BY expression

    is not very useful.

    I suspect there is something fundamentally wrong in what I'm trying to do.

    I had to anonimise the names of the tables and fields that the data that I use is quite sensitive, but it should not forget the problem.

    Here is the query:
    select
    case when a='100' and cost in (select cost from lookup) then '100' else b end as main,
    count(*)
    from 
    data_table
    group by 
    case when a='100' and cost in (select cost from lookup) then '100' else b end
    DATA_TABLE has (among others) of fields:
    a, b, and the cost

    search contains the field:
    cost

    All fields are VARCHAR2 (255)


    If I remove the count (*) and any group of the query statement runs it is to say:
    select
    case when a='100' and cost in (select cost from lookup) then '100' else b end as main
    from 
    data_table
    This shows that the stated case is valid - then why I can not combine the count and group of?
    If this is a reason of syntax is there another solution that I can possibly use subqueries to work around the problem - I prefer to avoid this and can't really make the case in a decoding without him make mess.

    Oracle version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.

    TIA

    Published by: user8378443 on May 11, 2011 10:26

    Try like this,

    SELECT MAIN, COUNT (*)
      FROM (SELECT CASE
                      WHEN A = '100'
                       AND COST IN (SELECT COST FROM lookup)
                      THEN '100' ELSE b
                   END
                      AS MAIN
              FROM data_table)
    GROUP BY MAIN
    

    G.

  • For the second time in two months, all my messages in the Inbox are not there. Only the SUBJECT and the FROM is left. Tried to 'fix this folder' and lost ALL

    For the second time in two months, all my messages in the Inbox are not there. Only the SUBJECT and the FROM is left.

    Tried to 'fix this folder' and ALL - lost ALL the Inbox.

    The file is still there and works well...

    How can I stop it and what are the causes?

    Thank you all, Gabe

    If you have the file somewhere on your hard drive, export and import tools it will be important back to Thunderbird.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/ImportExportTools/

    Instructions http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • __When I am listening to music on the web page and scroll to the bottom of a page, the sound becomes stuttery and slows down rough down__and. This problem started two months ago. Thank you

    In addition, I noticed I have a problem with Flight Simulator Microsoft X too. I've never had a problem before. The sound is noisy, distorted and crackling. I do not add or remove anything in the last two months. It's really interesting that I have 7 games more like: IL2, star Wars and etc on my computer but there are no problem at all.

    Hello

    How can I stop my music skip or break down when I play?
    http://windowshelp.Microsoft.com/Windows/en-us/help/36db5c82-9247-4346-909a-f87743b653ae1033.mspx#EFC

    1. right click the icon of speaker near right lower clock - peripheral of reading

    Highlight speakers - properties (right same low page) - tab improvements - check Disable all sound effects
    Apply - OK

    2. check the configuration - Device Manager - sound, video and game controller

    Note name and complete model of the audio device - full decription - now double click it.
    Driver tab - notice the driver version. Then click on set to update driver (maybe nothing like MS is far
    behind the pilots of certification). Then right CLICK on the device - UNINSTALL - REBOOT - it will refresh
    the driver stack.

    Now go to system Maker and look for the updated drivers (or get the same if no new) it will be
    your rescue. Download - SAVE - go to where you put it-RIGHT click in it - RUN AS ADMIN

    Then do the same for the manufacturer of the device (like Realtek or who made the device).

    NOTE: Often restore audio drivers to check the version after installing and restarting is
    see if the version you have installed is there, otherwise repeat the installation - restart until it is. This may take
    several tests according to the recommitments how much he makes.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • Hello. Recently, I buy the suite adobe for students. I also paid for two months. But in my profile it says I have a free plan for testing applications. And I can't get the entire application. How can I solve this?

    Hello. Recently, I buy the suite adobe for students. I also paid for two months. But in my profile it says I have a free plan for testing applications. And I can't get the entire application. How can I solve this?

    Your subscription to cloud shows correctly on your account page?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    If you have more than one email, you will be sure that you use the right Adobe ID?

    .

    If Yes

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • I get a message saying "drive does not have the ability to access this service and I just paid for 12 months (FOR THE SECOND TIME) in the last two months!

    I get a message saying "drive does not have the ability to access this service and I just paid for 12 months (FOR THE SECOND TIME) in the last two months!

    Hi phillipt84805120,

    Make sure that you have the latest Adobe Acrobat Reader DC (Adobe Acrobat Reader DC install for all versions) installed on your computer to use the services of export to PDF as the older version of Reader support any more.

    Alternatively, you can use services online at https://cloud.acrobat.com/exportpdf

    Let me know if you are still having a problem.

    Kind regards

    Nicos

  • I need two programs... Cc and cc pro Premier Photoshop this package do I need to choose? OBV the best way to do it? Pay monthly

    I need two programs... Cc and cc pro Premier Photoshop this package do I need to choose? OBV the best way to do it? Pay monthly

    Hi Mike,.

    You can subscribe on the plans of the unique app for the two apps separately, or else you can combine Premiere Pro single app plan with the plan of photography.

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    Kind regards

    Sheena

  • Rewrite the query with joins, and group by

    Hello

    It's an interview question.

    Table names: bookshelf_checkout
    virtual library

    And the join condition between these two tables is title

    We need to rewrite under request without using the join condition and group by clause?

    SELECT b.title,max(bc.returned_date - bc.checkout_date) "Most Days Out"
               FROM bookshelf_checkout bc,bookshelf b
               WHERE bc.title(+)=b.title
               GROUP BY b.title;
    When I was in College, I read most of SELECT statements can be replaced by operations base SQL (DEFINE the OPERATORS). Now, I am rewriting the query with SET operators, but not able to get the exact result.

    Kindly help me on this.

    Thank you
    Suri

    Something like that?

      1  WITH books AS (
      2  SELECT 'title 1' title FROM dual UNION ALL
      3  SELECT 'title 2' FROM dual UNION ALL
      4  SELECT 'title 3' FROM dual ),
      5  bookshelf AS (
      6  SELECT 'title 1' title, DATE '2012-05-01' checkout_date, DATE '2012-05-15' returned_date FROM dual UNION ALL
      7  SELECT 'title 1' title, DATE '2012-05-16' checkout_date, DATE '2012-05-20' returned_date FROM dual UNION ALL
      8  SELECT 'title 2' title, DATE '2012-04-01' checkout_date, DATE '2012-05-15' returned_date FROM dual )
      9  SELECT bs.title, MAX(bs.returned_date - bs.checkout_date) OVER (PARTITION BY title) FROM bookshelf bs
     10  UNION
     11  (SELECT b.title, NULL FROM books b
     12  MINUS
     13* SELECT bs.title, NULL FROM bookshelf bs)
    SQL> /
    
    TITLE   MAX(BS.RETURNED_DATE-BS.CHECKOUT_DATE)OVER(PARTITIONBYTITLE)
    ------- ------------------------------------------------------------
    title 1                                                           14
    title 2                                                           44
    title 3
    

    Lukasz

  • Windows xp has not updated for two months and will not open internet explore.

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

    Ideas: who can I cotact to solve this problem?

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem
    Windows XP Edition with Service Pack _ _, _ - bit?
    (Fill in the blanks).
     
    Antivirus solution that you use now and all the others that have already been installed on the system to your knowledge (including trial versions)?
     
    Why you waited two months?  What you have tried in these two months?
     
    I'm guessing that you have Firefox or an alternative browser?
     
    Assuming Windows XP with Service Pack 2 or higher * and * 32-bit...
     
    Please check * exactly * what you have:
     
    AutoScan--> RUN (no 'RUN', press the Windows_Key + R at the same time)--> type:
    winver
    --> Click OK.
     
    This will give you (top photo) the full name of the operating system.
    This will give you (in the text) the Service Pack you have installed.
     
    How to determine whether a computer is running a 32-bit version or 64-bit
    version of the Windows operating system
    http://support.Microsoft.com/kb/827218
     
    Please post your results here in response to this message.
     
    If you have Windows XP (any edition) 32-bit at least SP2 already installed (SP3 is preferable) and then continue on after the posting of the above requested information...

     
    Restart, and then log on as a user with administrative privileges.

    Difficulty your file or registry permissions...

    Ignore the title and follow the subsection under
    "Advanced Troubleshooting", titled,
    "Method 1: reset the registry and the file permissions.
    http://support.Microsoft.com/kb/949377
    * will take time
    * Skip the last step (6) - you * should * have SP3 now.

    But if you do not, we are not only fixing right now.

    You may see errors go even if you watch, count upwards.  NO.
    worries at the moment.

    Restart, and then log on as a user with administrative privileges.
     
    Download, install, execute, update and perform a full scan with the following
    (freeware version):

    SuperAntiSpyware
    http://www.SUPERAntiSpyware.com/

    Restart, and then log on as an administrative user.

    Download, install, execute, update and perform a full scan with the following
    (freeware version):

    MalwareBytes
    http://www.Malwarebytes.com/

    Restart, and then log on as an administrative user.

    Download and run the MSRT tool manually:
    http://www.Microsoft.com/security/malwareremove/default.mspx

    You find nothing, you will only find cookies, you may think that it is a
    waste of time - but if do you these things and report back here with what you
    / don't think you do all that - you add more parts to
    the puzzle and all of the picture just may become clearer and your
    problem solved.

    Restart, and then log on as an administrative user.

    Download/install the latest program Windows installation (for your operating system):
    (Windows XP 32-bit: WindowsXP-KB942288-v3 - x 86 .exe)
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en

    Restart, and then log on as an administrative user.

    Download the latest version of Windows Update (x 86) agent here:
    http://go.Microsoft.com/fwlink/?LinkId=91237
    ... and save it to the root of your drive C:\.  After you have saved in the
    root of the C:\ drive, follow these steps:

    Close all Internet Explorer Windows and other applications.

    AutoScan--> RUN and type:
    %SystemDrive%\windowsupdateagent30-x86.exe /WUFORCE
    --> Click OK.

    (If asked, select 'run.) --> Click on NEXT--> select 'I agree' and click
    THEN--> when it completed the installation, click "Finish"...

    Restart, and then log on as an administrative user.

    Visit this web page:

    How to reset the Windows Update components?
    http://support.Microsoft.com/kb/971058

    ... and click on the "Microsoft Fix it."  When asked, select "RUN."
    both times.  Check the box "I agree" and click "next".  Select the check box
    to "Run the aggressive options (not recommended)" and click "next".  Let
    He finish and follow the instructions until it does.  Close/exit and
    reset when it is.

     
    You should now perform a full CHKDSK on your system drive (C :)...)

    How to scan your disks for errors
    http://support.Microsoft.com/kb/315265
    * will take time and a reboot

    You should now perform a full defragmentation on your system drive (C :)...)

    How to defragment your hard drives
    http://support.Microsoft.com/kb/314848
    * will take time

    Reboot again.
    Log in as a user with administrative rights and open Internet Explorer
    and visit http://windowsupdate.microsoft.com/ and select to make a
    CUSTOM scan...

    Whenever you are about to click on something in these pages - web
    first of all, press on and hold down the CTRL key while you click on it.  You can
    release the CTRL key after clicking on each time.

    Once the scan is complete, select that ONLY updates of high priority
    (deselect all others) and install it.

    Reboot again.

    If it worked - try the web page - selection not more than 3-5 a
    time.  Reboot as needed.

    The optional software updates are generally safe - although I recommend
    against the 'Windows Search' one and all of the "Office Live" those or
    "Windows Live" which for the moment.  I would like to avoid completely the
    Optional hardware updates.

    Seriously - do these things.  It's like antibiotics - do not skip a single
    step, don't leave because you think it will be ok now - review
    until the end, until you have done all given in the order shown.  If
    you have a problem with a step to ask and let someone here, you get
    Thanks to this step.  If you do not understand how to bring one back
    and ask here on this step and let someone guide you through it.

    Then - actually - that everyone here knows if it worked for you - or if
    you have more questions.


    --
    Martin Stanley
    MS - MVP
    --
    How to ask Questions the Smart way
    http://www.CatB.org/~ESR/FAQs/smart-questions.html
  • (Redirected) I'm angry, I ordered my laptop DELL M3800 two months ago and has not yet arrived, it's a shame!

    I'm angry, I ordered my laptop DELL M3800 two months ago and has not yet arrived, it's a shame!

    Hi s - blu,.

    Please repost this in the forum for more quick help customer care.

    http://en.community.Dell.com/support-forums/customercare/

Maybe you are looking for