START WITH causing no rows to return

When I run the following query, I get no line.
However, when I comment on the START WITH, I get 120 planned lines, including six rows with pred = 1.
select pred, succ from
(
  with q as 
  (
    select 1 as n from dual
    union all select 2 as n from dual
    union all select 3 as n from dual
    union all select 4 as n from dual
    union all select 5 as n from dual
    union all select 6 as n from dual
    union all select 7 as n from dual
  )
  select q1.n AS pred, q2.n AS succ 
  from q q1
  join q q2 on q2.n > q1.n
)
connect by prior succ = pred
start with pred = 1;
Am I missing something obvious?

-Don

Looks like a bug in factoring clause, if it is replaced by a table, it does not (as you said), but also if you move the clause factoring on top of the query:

SQL> select pred, succ from
  2  (
  3    with q as
  4    (
  5      select 1 as n from dual
  6      union all select 2 as n from dual
  7      union all select 3 as n from dual
  8      union all select 4 as n from dual
  9      union all select 5 as n from dual
 10      union all select 6 as n from dual
 11      union all select 7 as n from dual
 12    )
 13    select q1.n AS pred, q2.n AS succ
 14    from q q1
 15    join q q2 on q2.n > q1.n
 16  )
 17  connect by prior succ = pred
 18  start with pred = 1;

no rows selected

SQL>
SQL> with q as
  2    (
  3      select 1 as n from dual
  4      union all select 2 as n from dual
  5      union all select 3 as n from dual
  6      union all select 4 as n from dual
  7      union all select 5 as n from dual
  8      union all select 6 as n from dual
  9      union all select 7 as n from dual
 10    )
 11  select pred, succ from
 12  (
 13    select q1.n AS pred, q2.n AS succ
 14    from q q1
 15    join q q2 on q2.n > q1.n
 16  )
 17  connect by prior succ = pred
 18  start with pred = 1;

      PRED       SUCC
---------- ----------
         1          2
         2          3
         3          4
{...}
         1          7

63 rows selected.

I think you could take a look at metalink or raise a SR.

Nicolas.

tested on 10.2.0.4
Edited by: N. Gasparotto June 9, 2009 17:20

Tags: Database

Similar Questions

  • Just bought a new I Pad Air 2 December 4, 2015.  IBook started with a printed blue/white background.  The next day woke to white/black print and can not return blue background.

    Just bought a new I Pad Air 2 December 4, 2015.  IBook started with a printed blue/white background.  The next day woke to white/black print and can not return blue background.

    Open a book, tap, tap of he two, disable auto-nuit theme.

  • When I burn CD for my use on the computer, sometimes the order of the songs are returned, starting with the last song first.

    * Original title: Windows Media player

    When I burn CD for my use on the computer, sometimes the order of the songs are returned, starting with the last song first.  This is the CD, or I do something wrong?  This isn't an ongoing problem... most of the time it's ok.  Can I change the order manually. If Yes, where and how.

    Thank you

    Lee

    Lee - there are a number of possibilities. First of all, it depends whether you burn audio disks or data - if they are audio discs, you can check and rearrange the order of songs in the burn list - if necessary - before you start burning. If you drag multiple files to the burn list quite often the last track you clicked on will go upward, so I wonder if it is what can happen. Back with a little more detail if I not quite correctly interpreted the problem. Best regards, Ric.

  • Join the two trees connect by prior Start With and return only common records?

    Oracle 10g Release 2 (10.2)

    I have two tables which have structured data. The results, when running queries individually are correct, but I need to join tree a tree two to get only the common records between them.

    -Trees a
    SELECT ip_entity_name, entity_code, hier_level, entity_parent
    Of ip_hierarchy
    WHERE hier_level > = 3
    CONNECT BY PRIOR Entity_code = entity_parent
    START WITH entity_code = "MEWWD";

    -The two tree
    SELECT ip_entity_name, entity_code, hier_level, entity_parent
    Of ipt_hierarchy
    WHERE hier_level > = 3
    CONNECT BY PRIOR Entity_code = entity_parent
    START WITH entity_code = "IPNAM";


    If I understand correctly, the joints can not work with CONNECT BY / START WITH queries?

    A WITH clause is an option?

    If possible, I don't want to put a selection in a database to display object and join against other queries.

    Thank you.

    Hello

    jtp51 wrote:
    Oracle 10g Release 2 (10.2)
    ...
    If I understand correctly, the joints can not work with CONNECT BY / START WITH queries?

    Before Oracle 9 it was true. Since you're using Oracle 10, you can if you wish; but I'm guessing that you don't want in this case.

    A WITH clause is an option?

    If possible, I don't want to put a selection in a database to display object and join against other queries.

    Yes, a WITH clause that is an option. Viewed online, as Zhxiang has shown, are another option. Either way gives you a regular display effect without creating a database object.

    You did not show a sample and the results, so no one can tell if a join is really what you want. Other possibilities include INTERSECT or an IN subquery.

  • Session "circular kernel context Logger" was able to start with the following error: 0xC0000035

    Is there a way to eliminate the error "Session"Circular kernel context Logger"was able to start with the following error: 0xC0000035?

    Hello A123.

    Thanks for the return of the response.  Regarding your last question, some were told that they have ignored this error without any problem, but I would like to see if we can fix that.  If you start in a clean boot state, you can reproduce this error?  I want to see if a program is causing this to happen.

    Clean boot:

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

  • TouchSmart HP Envy 14 - laptop occasionally starts with black screen

    Hello and thank you for taking the time to look at my problem. My laptop is a HP Envy Touchsmart 14 8.1 Windows running. The product name is HP ENVY 14 Sleekbook TS and the number is E0M45UA # ABL

    My problem is that my computer occasionally starts with a blackscreen with my mouse in the Center. I can move the mouse but it will return to the Center after a few seconds. I can't seem to do anything but hold the power button and shut down my computer. After that I open it again, can I use my normal computer. I recently did an update of the BIOS of my computer and I don't know if that is causing the problem. How can I solve this problem?

    Hi Shibein:

    Thank you for your inquiry.  You can run the HP Support Assistant click here to help solve the problems and search for updates.  You can also run the ' HP PC Hardware Diagnostics UEFI" click here." "I am also sending documentation on " Touchpad, keyboard, or a mouse ",click here, and ' computer will start (Windows 8)"click here. If none of this has solved the problem, you can try to restore the bios updated"Bios restore" TouchSmart HP ENVY 14-k110nr Ultrabook support" click here, or restore your computer to a date when it was working fine. '" Here is a link to 'use the Recovery Manager to restore the software and drivers (Windows 8)'click here. If you need help can you give us the exact model on HP Envy Touchsmart 14 you have.   "How can I find my model number or product number?" click here.

  • START WITH and CONNECT BY PRIOR

    Hello

    Database: Oracle 11g

    1.

    SELECT ename, empno, mgr

    WCP

    START WITH empno = 7839

    CONNECT BY PRIOR MGR = EMPNO

    Result set:

    EMPNO, ENAME MGR

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

    KING 7839

    2.

    SELECT empno.ename, Bishop

    WCP

    START WITH mgr = 7839

    CONNECT BY PRIOR MGR = EMPNO

    Result set:

    EMPNO, ENAME MGR

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

    7566 JONES 7839

    7698 BLAKE 7839

    7782 CLARK 7839

    KING 7839

    KING 7839

    KING 7839

    My questions are:

    Q1. What is actually happening in the result defines two queries. I'm not able to grasp the difference when I use START WITH empno = 7839 and START WITH mgr =. 7839

    Q2. What is the difference between

    CONNECTION BY MGR PRIOR = EMPNO and

    CONNECT BY PRIOR EMPNO = MGR?

    can someone please help me here?

    Thank you

    Hello

    A CONNECT BY query looks like an operation UNION ALL of the data of different levels, numbered 1, 2, 3 and more.

    Level 1 is filled with the START WITH clause.

    If there are data on level N, then N + 1 level is filled, using the CONNECT BY clause, which generally refers to something on the N level via the PRIOR operator.  Another way to put it is that level N + 1 is filled by a self-join with lines that have already chosen the level N.

    If there is no data on the level of N, the query stops.

    Let's see how this applies to your queries.

    Level being such an important concept in CONNECT BY queries, you might want to see in all your CONNECT BY queries all test and debug the.

    1 query, including the level are:

    SELECT ename, empno, mgr

    LEVEL

    FROM scott.emp

    START WITH empno = 7839

    Empno = mgr PRIOR CONNECTION

    ;

    You will notice that I have re-arranged the CONNECT BY clause.  I find it a little more clear medium.  Of course, it never changes the results just if you say "x = y" or "y = x.

    The results, including the level, are:

    LEVEL OF ARCHBISHOP EMPNO, ENAME

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

    7839 KING 1

    What happened to produce these results?

    First level 1 has been met using the START WITH clause.  Level 1 is identical to the results of

    SELECT ename, empno, mgr

    AS LEVEL 1

    FROM scott.emp

    WHERE empno = 7839 - same as your START WITH clause

    ;

    It happens to be only 1 row in the table scott.emp who met the empno = 7839 condition, and we show a few columns of this line.

    That's all that need the level 1.  Something has been on level 1, so we're trying now to complete level 2, using the CONNECT BY condition.

    Any line that is included in the level 2 meets the empno = mgr PREREQUISITE condition, where the PREVIOUS operator refers to a line of level 1.  In this case, there is only 1 row at level 1, this line gets to have a NULL mgr.  Given that PRIOR mgr is NULL in this case, the condition to connect BY

    EmpNo = mgr BEFORE equals

    EmpNo = NULL and who obviously won't be true for any line, so nothing is added to level 2, and ends the query.

    Now let's look at application 2.  I'll add another column of debugging, called path, which I'll describe later:

    SELECT ename, empno, mgr

    LEVEL

    , SYS_CONNECT_BY_PATH (empno, "/") AS path

    FROM scott.emp

    START WITH mgr = 7839

    CONNECT BY PRIOR Mgr = empno

    LEVEL CONTROL

    path

    ;

    Output:

    EMPNO, ENAME MGR LEVEL PATH

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

    7566 7839 1 7566 JONES

    7698 7839 1 7698 BLAKE

    7782 7839 1 7782 CLARK

    7839 KING 2/7566/7839

    7839 KING 2/7698/7839

    7839 KING 2/7782/7839

    Again, we'll study how people got 1 level.  It happens to be 3 scott.emp lines that meet this condition START WITH, so there are 3 lines in the game at level 1.

    Given that the data on the level 1, the test of the query to complete level 2, referring to some PRIOR line on level 1.  Any line that meets the condition to connect BY, with a line any level 1 in the PREVIOUS line, will appear at level 2.

    Let's look at the line at level 1 where ename = 'JONES '.  Are there lines in sccott.emp that met the empno = mgr PREREQUISITE condition, where mgr PREREQUISITE is the column of Archbishop of the line with "JONES"?  Yes, there are one, the line with ename = 'KING', so that the rank is included at level 2.

    Let's look at the line at level 1 where ename = 'BLAKE '.  Are there lines in sccott.emp that met the empno = mgr PREREQUISITE condition, where mgr PREREQUISITE is the column of Archbishop of the line with "BLAKE"?  Yes, there are one, the line with ename = 'KING', so that the rank is included at level 2.

    Let's look at the line at level 1 where ename = 'CLARK '.  Are there lines in sccott.emp that met the empno = mgr PREREQUISITE condition, where mgr PREREQUISITE is the column of Archbishop of the line with 'CLARK '?  Yes, there are one, the line with ename = 'KING', so that the rank is included at level 2.

    There are thus 3 rows at level 2.  They happen to all be on the same line of the table emp; It is correct.  Remember, CONNECT BY is like a UNION ALL (not just a UNION).  It is a UNION of

    lines that are at level 1, because him meets the condition to BEGIN WITH, and

    lines that are at level 2 because puts it CONNECT BY condition regarding the 'JONES', and

    lines that are at level 2, because they meet the condition to connect BY regarding the "BLAKE", and

    lines that are at level 2, because they meet the condition to connect BY regarding the "CLARK".

    SYS_CONNECT_BY_PATH can enlighten us on that.  SYS_CONNECT_BY_PATH (empno, ' / ') shows the empno of each level that caused this line appears in the result set.  It's a delimited list /, where the nth element (i.e. the empno after bar oblique nth) is the empno who found the N level.

    Since there were data at level 2, the quert now trying to complete level 3.

    Is there all the rows in the table that satisfy the CONNECT BY condition (mgr PRIOR = empno) with respect to any line level 2?  No, Bishop is be NULL on all lines of level 2, so no line can satisfy this condition CONNECT BY, no lines are added at level 3, and ends the query.

    I hope that answers the question:

    Q1. What is actually happening in the result defines two queries. I'm not able to grasp the difference when I use START WITH empno = 7839 and START WITH mgr =. 7839

    I'll try to not be so detailed answering

    Q2. What is the difference between

    CONNECTION BY MGR PRIOR = EMPNO and

    CONNECT BY PRIOR EMPNO = MGR?

    These 2 CONNECT BY conditions are different where you put the PRIOR operator.  The operator PRIOR to switching as it change the direction, upward or downward, which move you through the tree you get from level to level.

    Bishop PRÉALABLE = empno means the employee on level N + 1 will be the same as the Manager of level N.  This means that higher level numbers will be the most senior people in the hierarchy.  This is called a query from the bottom up.  (Both of the queries that you have posted this same CONNECT BY exact state; both are requests from bottom to top).

    Mgr = empno PREREQUISITE or equivalent

    PRIOR empno = mgr means exactly the opposite.  When you move from level N to level N + 1 in the query, you will move to an older person, to a junior position in the hierarchy.  This is called a query from top to bottom.  The employee level N will be the Manager of wover is a level N + 1.

  • Hierarchical connect by and start with and joined?

    I have an Employees table and a table of identifiers. The table of identifiers is hierarchical, with parents and children. Each employee has one or more identifiers, but that a unique identifier is considered to be the "primary" or root for each employee identifier. Unfortunately, the employee table can point to one of the children identifier lines and not the root. I need a quick query to reach employees with their most recent ID (root).

    Here's the code to define the problem.
    create table employees (employeeid varchar2(8), fakeNationalID varchar2(9), empname varchar2(30));
    insert into employees (employeeid, fakeNationalID, empname) values (1,'001000001','John Smith');
    insert into employees (employeeid, fakeNationalID, empname) values (2,'002000002','James Jones');
    
    create table realids (realidkey NUMBER, fakeNationalID VARCHAR2(9) not null, 
       realNationalID VARCHAR2(9) UNIQUE, parent_realidkey number);
    insert into realids (realidkey, fakeNationalID, realNationalID, parent_realidkey) values
       (1,'001000001','111111111',3);
    insert into realids (realidkey, fakeNationalID, realNationalID, parent_realidkey) values
       (2,'002000002','222222222',null);
    insert into realids (realidkey, fakeNationalID, realNationalID, parent_realidkey) values
       (3,'003000003','333333333',null);
    commit;   
    
    create or replace function get_parentid (fakeID in VARCHAR2) return varchar2 is
       tempid VARCHAR2(9);
       begin
          select realNationalID into tempid 
             from (
               select realNationalID, fakeNationalID
                  from realids
                  start with fakeNationalID = fakeID
                  connect by nocycle prior parent_realidkey = realidkey
                  order by level desc)
                  where rownum = 1;
          return tempid;
          exception 
             when NO_DATA_FOUND then
                return NULL;
             when others then raise;
        end;
    
        
    select get_parentid('001000001') from dual; -- returns 333333333 because its linked to a parent
    select get_parentid('002000002') from dual; -- returns 222222222 because there is only one child
    select get_parentid('003000003') from dual; -- returns 333333333 because it is the parent
    What I want is to put the parent node above realids for each line of employees...

    It works, but it is NOT very effective:
    select employeeid, get_parentid(fakeNationalID) realid, empname from employees;
    employeeid   realid       empname
    ----------   -----------  ------------
    1            333333333     John Smith
    2            222222222     James Jones
    You can imagine what it would be like with 100K lines or more. It takes about 3 minutes to run.

    It seemed like a good way to do it, but with a sub query.
    select e.employeeid, e.fakenationalid, e.empname, sub.realnationalid
       from employees, 
          (select realidkey, fakenationalid, realnationalid, parent_realidkey
             from realids r
             start with r.fakenationalid = e.fakenationalid
             connect by prior r.parent_realidkey = r.realidkey) sub
    Unfortunately, it produces an invalid identifier on e.fakenationalid (in the beginning with the clause).

    Anyone has any ideas on how to get top most parent node of the realids for each row in the employees table? In real life, there are 6 or more employees tables across multiple remote instances of what children in the realids table and how much to the parents. We always want the highest parent of the page realid. Any help would be appreciated.

    Hello

    Thanks for posting the sample data in a convenient form!
    It is always useful to post your version of Oracle, too, especially when it comes with CONNECT BY queries.

    What follows is what you asked for in Oracle 10:

    WITH     got_roots   AS
    (
         SELECT     CONNECT_BY_ROOT     fakenationalid     AS leaf_id
         ,     realnationalid
         FROM     realids
         WHERE     CONNECT_BY_ISLEAF     = 1
         START WITH      fakenationalid IN ( SELECT  fakenationalid
                                              FROM    employees
                               )
         CONNECT BY     realidKEY     = PRIOR parent_realidkey
    )
    SELECT     e.employeeid
    ,     r.realnationalid
    ,     e.empname
    FROM     employees     e
    JOIN     got_roots     r     ON     r.leaf_id     = e.fakenationalid
    ;
    

    In any query, call a function defined by the user for each line is going to be slow. Fortunately, Oracle now has the built-in functions and operators that can take the place of get_parentid. The CONNECT_BY_ROOT operator, which was introduced in Oracle 10, is the key to the problem. In Oracle 9, you can get the same results using SYS_CONNECT_BY_PATH.

    It is generally faster to CONNECT BY query separately, and then join some other tables you need for results.

    You had a good idea in your last query. The problem was that void and employees were equal tables in the FROM clause, and you cannot establish a correlation between equals. You can only correlate a subquery to its Super application. You could make to this general idea work by changing void in a scalar sub-requete, which can be connected to the employees, but I think it would be much less effective than what I posted above.

  • "Search" Firefox Ctrl-F function always starts with "Case-sensitive" automatically activated

    "Search" Firefox Ctrl-F always begin with 'Match case' activated automatically every time I start up the browser, even when I start with safe mode disabled modules. Is there a way to have case-sensitive have (without having to check it manually) when I type ctrl-F?

    dcode147 said

    "Search" Firefox Ctrl-F always begin with 'Match case' activated automatically every time I start up the browser, even when I start with safe mode disabled modules. Is there a way to have case-sensitive have (without having to check it manually) when I type ctrl-F?

    If you don't have a user.js file, as I did not, then you can find this information in your profile folder prefs.js. To find this folder, click menu triple horizontal slash on Firefox button, then click the question mark at the bottom, then click "Troubleshooting information" and then click on "View file" next to the profile folder. At this point, you need to open the js file (prefs.js to me, maybe user.js for others) with Notepad.

    The entry "accessibility.typeaheadfind.casesensitive" cor - el mentioned above must be just off the top, and if "Match case" is highlighted then it should have a '1' beside him. You will need to close Firefox, then change 1 to 0 and save. When you restart Firefox "Case-sensitive" must return to being disabled.

  • SOLVED: Why don't Satellite 4090XCDT does not start with DVD-R/W drive?

    Hello
    as I said in the other thread that has already been closed, I bought a used Satellite phone who would not start of 3rd party DVD - RW (Quanta Storage SDW-042) included, even if Windows couldn't read well enough.

    I found out why, starting with the help of the user answers in the other thread.

    In the user manual, there is a description in the capitel on the configuration of the system about tconfig, which proved to be a valuable indication: HDD = Primary IDE (1F0H/IRQ14) (...), CD = secondary IDE (170 H/IRQ15). Compared to my desktop, it seems to me that two readers need to be masters on no. 1 and no. 2 cable, not as master and slave on the same cable from HARD drive. So, my CD-ROM would probably be master.
    Then I did the research further into the issue and found out, that there is no CD-ROM where select things cable if they are master or slave. Then I found in
    http://www.dschen.de/laptop_brenner/ a note in his Toshiba Satellite Pro 4290, seemed to be no Cable Select and his planned book on the CD (or DVD player, he wants to use) as a master.
    CSEL means that 47 Pin is connected to the Earth, which he did by applying a drop of Tin from Pin 47 to 49, pine, which is also Pin 47. I tried the same thing and disassembled the DVD drive that was in my notebook. (My record to disassemble my laptop and all editing again properly is now gone in 50 minutes). And know what, my Satellite 4090XCDT can now boot from the DVD-RW!

    To perform the task, I needed a screwdriver of the watchmaker to open the DVD RW (three live, then you need to insert a PIN to open the tray and see the back), a 12 Volt type iron pin solder for SMD and I ordered the strap of welding with a stereo microscope, so this task is not negligible. See the link mentioned to know what pins are bridged (sorry, the website is in German but the picture is clear: in the top row of pines, only you can see, the 2nd and the third from the right). And of course with a replacement part "scrap", you could give your laptop a second life, but you run a risk, because you may not know what you have, master or slave (for firmware or hardware), broken in any case, select cable - and one other Web site indicates that they looked up to 17 variants of firmware in exactly the same drive , depending on what laptop, it was intended for use.

    Nice display. Thank you very much.

  • Tecra S1 starts with blak screen

    Hello.

    I have a toshiba Tecra S1 1.6 ghz.
    I have a problem causing some time when I start the computer with white screen starts...
    The it started cause I hear the windows startup sound.
    I have try switching the Fn + F5, but nothink...

    Everything I do is to restart the computer to start with screen.

    Hello

    Hmm, how about display driver update?
    What do you think on the new operating system installation to check if this could solve the problem?

  • I can't access the system tools and trying to connect to internet it is blocked with the 404 error is returned

    Original title: help with XP

    Hello. Lost my son specifications accessories so I can not access tools etc as a result of this system by trying to connect to the internet, it is locked with the 404 error is returned. I checked and seems to be something that is called the prevention of execution of data, or something similar. I suspect that a virus may have corrupted windows. is there a site that I can connect to that will analyze or fix the erors with windows. I know a little about computers, but the easier the better solution to any who no matter what solutons to one of these problems. I tried turning of DEP, but it does not work. the indices or help gratefully received. Thank you

    Hello

    ·         What is the service pack installed?

    ·         What anti-virus program do you use?

    Method 1:

    I suggest you to download and run the latest Microsoft security on your computer Scanner and check if it helps:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Method 2:

    I suggest you run the SFC (System File Checker) and check if it helps.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

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

    Method 3:

     

    Error 404 occurs when Internet Explorer is able to connect to the website, but the webpage cannot be found. This error is sometimes caused because the webpage is temporarily unavailable or that the Web page has been removed.

    I suggest that you reset the internet settings explore by default and check if it helps.

    For more information, see the article.

    How to reset Internet Explorer settings

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

    Important: Reset Internet explore its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

     

    Method 4:

    I suggest you create another user on the computer and verify the results: how to create and configure user accounts in Windows XP: http://support.microsoft.com/kb/279783

    If the problem does not occur in the new user, and then follow the steps from the link below: how to copy data from a corrupted to a new profile in Windows XP user profile: http://support.microsoft.com/kb/811151

  • Vista has started with a normal window then changes to one with zoom 150 and no navigation

    After my computer did an automatic update, the screen changed.  It starts with a normal screen but then goes to a 150% or more with no navigation or any level of zoom in the status bar.  So cannot use Control Panel controls to adjust the screen resolution, want to do?   Do not have original install disks that the computer came preloaded.

    Hello

    If you could get in Control Panel, you can use the ENTER key to OK to change settings

    and read this;

    There are a number of things to try:

    try going to your graphic card manufacturers site or computer and are looking for the driver download section

    Search your computer or graphics card model number based on what you have and download and install the latest graphics drivers for vista

    then try to make the screen of solution of problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

    Change the screen resolution

    __________________________________________________________

    or try a restore of the system before this happened

    http://www.windowsvistauserguide.com/system_restore.htm

    If necessary do in safe mode

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    ________________________________________________________

    and change how to get updates for you to choose what you install to stop it happening again

    You may need to install one at a time to find the problem, we

    Make sure that you do not use Windows Update to install the drivers of 3rd material part

    Find them directly in the hardware manufacturer

    and when you see the problem update right click on it - UAC prompt - then hide it

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

    ______________________________________________________

    Here are the different ways to reinstall Vista

    Contact the manufacturer of the laptop computer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it

    they do it for a nominal cost of $

    ____________________________________________________________

    also ask them if you have a recovery partition on your hard drive to get back to the way you bought

    you would normally press F8, F9, F10 or F11 or Alt + F10 or 0 to start to start the recovery process according to the manufacturer

    Ask them of the exact key sequence

    __________________________________________________________

    or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc

    Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer

    they contain all versions of vista

    This is the product key that determines which version of vista is installed

    http://www.theeldergeek.com/Vista/vista_clean_installation.html

    ____________________________________________________________

    How to replace Microsoft software or hardware, order service packs and replace product manuals

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

  • Error 'System restore running system' starts with a black cursor screen while trying to use the system restore

    Original title: unit hanging in the middle of the restoration of the system

    Message "System restore running system" starts with a black screen with cursor, but does not move forward.  Windows Vista question

    Have you tried F8 solutions and when I select the system restore it gives me the message above and goes to the black screen even ugly.

    How did I break the loop so I can start a new system restore?

    Hello

    Are you trying to restore your computer or you try to create a restore point?

    Step 1 or 2 can help you to restore your computer.

    Step 1: Try the steps in the section below, if you haven't tried it.

    Start the restore of the system from a command prompt
    http://Windows.Microsoft.com/en-us/Windows-Vista/Start-System-Restore-from-a-command-prompt

    Step 2: Try restoring the system from the recovery console.
    Reference: http://windows.microsoft.com/en-US/windows-vista/What-are-the-system-recovery-options-in-Windows-Vista

    Step 3: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Measures to check the application event log:

    a. Click Start.
    (b) in the search box type eventvwr.msc, and then on enter.
    c. now, click Application in the event viewer (local).
    d. now, looking for event log on the right side of the event viewer window.
    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Event-Viewer
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-information-appears-in-event-logs-Event-Viewer

    Similar problem: http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/system-restore-wizard-is-already-running/c797baf7-c069-4e3a-894a-e9644cc6df0b

  • Start with an external display in VISTA with an HP dv2000 laptop

    Hello

    My HP laptop screen is broken, so I need to use an external monitor. Unfortunately, the screen not active really up to what I'm going to connect to the page into account. This means that if I want to access bios, upgrade to a new operating system, or to do other things, I'm completely blind.

    Is it possible that I can get the operating system to start with my external monitor.

    Please note: I have a strong experience of PC and I'm decent to things like the change of systems. So feel free to suggest something dangerous or risky.

    -Hamed

    Unfortunately, what you want to do is not possible.  The system should be launched before the second monitor is enabled (and you can't have the main monitor an external monitor on a laptop).  If you want to see what you do with stains where the disk hard operating system is not in use, you have no other choice than to repair your laptop screen (it does not cost much more and if you get only one monitor (and not the entire upper eyelid) you can replace exactly that and it shouldn't cost as much as a whole new lid (assuming it's the monitor that is the problem and not) (not something in the lid) anywhere near).  I did myself on my Dell and it wasn't easy by any means and I had to use tiny tools, I had not used in years (and if ever I need to do it again, I could just let a technician computer repair or Dell even myself worth) - but it can be done.

    There is no way to say BIOS (or something else) to use the external monitor as primary monitor - the controls are not there, and even if they were, the connections would be not activated by the system (and you cannot do it from the BiOS unless / until the system works).  You might be able to do the main monitor once the system is working, but not until then.  I appreciate your computer experience and a willingness to try something dangerous or risky, but it is not a question of who - it is just possible iisn can't with any Windows OS I know and probably other software of OS as well (and I'm not sure I would even suggest something dangerous - perhaps risky - even if I knew it would work because I'm tryng to help solve the problems and not cause) new or worse those).

    I would just bite the bullet and contact HP and get the laptopr fixed or at least get the part and try to do it yourself (a bit risky, difficult, time consuming and who need very small tools to accomplish if this can be done on a HP as it did on my Dell - you need HP technical support or parts if it is possible and that the difference in cost to ensure that it is possible) and useful effort).

    I'm sorry if this isn't what you wanted to hear, but it's like that.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • USB 3 - is that he changed the feature?

    I use my Mac to the sides of my cameras Nikon (D700 and D800) Previously (last year) I was able to shoot in the studio using "tethered mode" allowing me to operate the camera of the Mac running Adobe Lightroom. I could see the images as they came and

  • Current do not install the update to Vista Media Center (KB960544)

    I would appreciate much information on how to deal with a recurring problem of the automatic Windows Update: "Cumulative Update for Media Center for Windows Vista (KB960544)." Since the beginning of February 2009, whenever I start my computer, I get

  • Text box of photo creations

    I am trying to create an invitation personalized multiphotos. How to create a text box that is a box itself rather than in the photo? I use a lot of photos and using the design option, the photo layout. I would like a text box to be outside the layou

  • Problem of helmet.

    Hello! I bought new headphones, it came with two plugins. One for the microphone and one for the speakers. Problem is that my computer can't find my microphone, but he can find the speakers. Plugins are red and the other green. Ive tried everything p

  • Microsoft L2TP VPN to ASA 5520

    I am trying to configure an L2TP VPN connection on an XP laptop. On the SAA, I use the DefaultRAGroup and the DfltGrpPolicy. I put DefaultRAGroup to use a pre-shared key, and set the authentication of users on ACS_Radius. Our ACS server is associated