What wrong with the updates?

ok so i try to update everything on my phone, nothing except for an error. i restore my phone, still cant update em and the app store says there are no updates available. help

Zo, do you download when Software Update tells you or do you go to something like VersionTracker? Klaus is right that a 10.4.8 combo update ususally takes care of things. What has been happening is that you are trying to update apps that need to be updated incrementally, which is why the combo, which will install all the security and OS inmprovements at one time is a good idea.
DBefore you run the combo, repair permissions, and make sure to disconnect all firwire peripherals, and run permissions repair after as well, iTunes changes a lot of them for most people.
Do post back and let us know how you make out,
Miriam

Similar Messages

  • Whats wrong with the servers i cant download update 5.1 firmware

    whats wrong with the servers i cant download update 5.1 firmware ive been trying for 2 days it says i dont have permission to access the requested source

    What says you don't have permission to access the requested source? That is not an error that should come up at all either from iTunes or when attempting an over the air upgrade. At least not an error that has anything to do with the servers.
    It could be a permissions problem on your computer or an issue being caused by your firewall or antivirus software.

  • Whats wrong with the sql query-- giving no rows selected

    i have a table audit_data with 4 columns , eff_m & end_m are declared as timestamp and the time stamp data is different for all the records
    Please advice as soon as possible as this is a production problem
    ORG_GRP_I grn_n ED_EFF_m (timestamp) ED_END_M OFV
    1 999 01-Jan-06 1 03-Aug-06 0 0
    1 999 28-Jul-06 0 04-Aug-06 1 0
    1 999 04-Aug-06 1 04-Aug-06 1 0
    1 999 04-Aug-06 0 6.08
    This query is giving no rows returned,even though there is data in database
    SELECT NVL(OFV,0)
    FROM audit_data ag
    WHERE ag.ORG_GRP_I = 1
    AND ag.GRN_N = 999
    AND (ag.ED_EFF_M,NVL(ag.ED_END_M,SYSDATE)) IN (SELECT MAX(ED_EFF_M),MAX(NVL(ED_END_M,SYSDATE))
    FROM audit_data ag2
    WHERE ag2.ORG_GRP_I= ag.org_grp_i
    AND ag2.grn_n=ag.grn_n
    AND To_Date(To_Char(ag2.ED_EFF_M,'MM/DD/YYYY'),'MM/DD/YYYY') <= TO_DATE(TO_CHAR('08/04/06','MM/DD/YYYY'),'MM/DD/YYYY')
    AND To_Date(To_Char(NVL(ag2.ED_END_M,SYSDATE),'MM/DD/YYYY'),'MM/DD/YYYY') >= TO_DATE(TO_CHAR('08/04/06','MM/DD/YYYY'),'MM/DD/YYYY'));
    This query is giving value 6.08, when made type conversions.
    what wrong with the above query.please advice
    SELECT NVL(OFV,0)
    FROM audit_data ag
    WHERE ag.ORG_GRP_I = 1
    AND ag.GRN_n = 999
    AND (to_date(to_char(ag.ED_EFF_M,'mm/dd/yyyy'),'mm/dd/yyyy'),NVL(to_date(to_char(ag.ED_END_M,'mm/dd/yyyy'),'mm/dd/yyyy'),SYSDATE)) IN
    (SELECT MAX(to_date(to_char(ED_EFF_M,'mm/dd/yyyy'),'mm/dd/yyyy')),MAX(NVL(ED_END_M,SYSDATE))
    FROM audit_data ag2
    WHERE ag2.ORG_GRP_I= ag.org_grp_i
    AND ag2.grn_n=ag.grn_n
    AND To_Date(To_Char(ag2.ED_EFF_M,'MM/DD/YYYY'),'MM/DD/YYYY') <= TO_date('08/04/2006','MM/DD/YYYY')
    AND To_Date(To_Char(NVL(ag2.ED_END_M,SYSDATE),'MM/DD/YYYY'),'MM/DD/YYYY') >= TO_DATE('08/04/2006','MM/DD/YYYY'));

    In the second query you convert a string to a date correctly using TO_DATE(string,date format)
    In the first query you try to make a char of something that already is a char, e.g. TO_CHAR('08/04/06','MM/DD/YYYY').
    The TO_CHAR functions expects either a number or a date as its first parameter. That's why it's giving you a ORA-01722.

  • What's with the update?

    My wife and I have identical razr's. Hers updated automatic one night and she's not happy with the changes to the display. I keep selecting later for the update because I don't like the chages they made. Aside from that we can be next to each other in the car and one of us has signal yet the other loses signal. I wish I could get the 4G so called "best nationwide coverage" we're paying for. I wish I went with boost. Same crappy service as verizon but half the money. My work phone (not a droid) is also verizon but never loses signal.  Any ideas how to fix these crappy phones or anyone know what verizon/motorola is doing to correct these issues?

    Downloaded latest update 7-27 and all I can say is it is the most pitiful piece of feces I have ever seen. Letters are blue with black background and you can't read **** because of the contrast . What was wrong with the white letters and black background, nothing except some idiot has to justify his miserable existence by making changes on a system that was just fine. Contacts are another issue now that it takes anywhere from 3 to 5 steps to get there. Unlocking the phone is another one , why should I have to unlock it just to have another screen to ask me where to go. I have been on the phone with Verizon as well as going to the store for help in deciphering this new pitiful update. The answers from the help at the stores is to email Google or Verizon about these issues .I purchased the original droid in dec. of 2009 and was happy with it. then upgraded to the razr jan 2012 and have been pleased with it till this latest update and now If I could get anything else  I would, another thing is I would NOT recommend the droid to anyone for purchase.I have even tought about getting the iphone at this point because I am so dissatisfied . when I decided to post this I tried the user name of irked , it was taken as well as ******, so apparently I'm not the only disgusted user.

  • Whats wrong with the code?????

    Hi All
    Pls can anyone help me, what is wrong with the below code, when ever i tried giving 10 digit number to chk out whether it is prime or not it is giving an NumberFormatException to me, pls can anyone help me...
    class PrimeNo{
    public static void main(String args[])
    int a = Integer.parseInt(args[0]);
    int count=0;
    for(int i=2;i<a;i++){
    if(a%i==0)
    System.out.println(a+" is not a Prime Number");
    count = 1;
    break;
    if(count==0)
    System.out.println(a+" is a Prime Number");
    Thnx and rgrds
    Badri

    Just curious, since this has already been answered, but to simplify code, would it be possible to set it so that if the value is not a prime number, just do the value like so:
    if (//code determines it is prime)
    System.out.println ("prime number");
    else
    prime = !prime;
    if(!prime)
    System.out.println ("not a prime number");not really code there, more pseudocode, but you get my drift. Would this make sense to do?

  • Whats wrong with the Network?

    What is wrong with the network? for about two days now i havent had 3g or 4g on my phone (droid razr maxx) just out of the blue it goes off my phone and hasnt come back. Does anyone know what happend?

        Yorktown301, that's very strange, but I'm here to figure this out! Are you still having problems connecting to 3G or 4G? Let's first verify that no settings on the phone were changed. Go to Settings, More, Mobile networks, Network Mode. Ensure LTE/CDMA is selected. Go back to Settings, Data usage and make sure Mobile Data is on. If still no change, remove both your battery and SIM card for about 30 seconds. If you're still having problems, let me know what zip code you're located in.
    MarquiaF_VZW
    Follow us on Twitter @VZWSupport

  • What wrong with the buttery ?

    hallow
    my question about the buttery i don't know what wrong with it . the buttery get finish after one and half hour using .
    please help me
    my Email
    [email protected]
    my mobile
    +966554302679

    Hi kamranh,
    I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    From the looks of it though, your issue may be because you've been hit with some [https://support.mozilla.org/en-US/kb/Is%20my%20Firefox%20problem%20a%20result%20of%20malware?s=malware&r=0&e=sph&as=s#w_how-do-i-get-rid-of-malware Malware].
    If isn't malware or a plugin issue, you should take a look at the Knowledge Base article [[Search bar]]. Your default search might have been changed by a particular site. Sites like MSN, Yahoo, etc have been know to ask to become your homepage and change your search engine.
    If the address bar search has been changed as well, you might want to take a look at [[Location bar search]].
    If that doesn't work you should look at the article [[Preferences are not saved]].
    Hopefully this helps!

  • Whats wrong with the last update?

    Since the last update, im not able to read a video on the net, could be youtube, daylimotion or  streaming, no ONE! So, I ve unistalled  flash player, re install it twice! and it still didnt work? whats wrong again? (and no it s not a problem from firefox,it's all updated, nor from an add-on( same) nor my own computer, its from flash player (when i ve unistalled it, i can read  some videos...)
    and no i havent real player...
    Any clue?
    (Btw; why oblige the user of flash to add the "not so good" Mac afée's scan"? )

    What OS?

  • What is wrong with the updates?

    Why all my attempts to install the latest updates - iTUnes 7.0.2 and Security Update for 2006-2007 fail on my iMac G5 each time after I have started downloading them? Anyone else with the same issue?
    Zo

    Zo, do you download when Software Update tells you or do you go to something like VersionTracker? Klaus is right that a 10.4.8 combo update ususally takes care of things. What has been happening is that you are trying to update apps that need to be updated incrementally, which is why the combo, which will install all the security and OS inmprovements at one time is a good idea.
    DBefore you run the combo, repair permissions, and make sure to disconnect all firwire peripherals, and run permissions repair after as well, iTunes changes a lot of them for most people.
    Do post back and let us know how you make out,
    Miriam

  • Whats wrong with the Nokia update servers?

    Ive been trying to update my 5800 with the latest software version using the updtaer built in on the phone. Im using my home wireless connection to do so, it happens that it either stops downloading on the middle or says server doesnt respond. any idea how to do this? Cause this thing is starting to pi** me off. Courrent version is  11.0.008
    Ive tried more than 1 wireless connection and its the same problem. Either says there are no updates, server not responding or stops in the middle of the download
    thanks
    EDIT: also i cant open any page using wireless. Can it be imcompatibility with the router?
    Message Edited by tubago on 06-Jun-2009 03:33 PM
    Message Edited by tubago on 06-Jun-2009 03:34 PM
    Courrently using: 5800, N80, 6680, 6131and SE K850i
    Owns, besides the ones using: 3310, 7250, NGage, 3660, 6600, 6510, 8310, 8910i, 6822, 8850

    Problem solved. It was a problem on the router i found the solution here
    http://whyiseverytitletaken.blogspot.com/2008/11/nokia-n85-wifi-no-gateway-reply.html
    Courrently using: 5800, N80, 6680, 6131and SE K850i
    Owns, besides the ones using: 3310, 7250, NGage, 3660, 6600, 6510, 8310, 8910i, 6822, 8850

  • Since the last update Firefox has been crashing constantly and something is VERY WRONG with the update!!!!!!!!! Why?

    Since the last update to Firefox, I have had crashes non stop about every ten minutes or so, with very typical use. The update SUCKS and is crashing computers. I am SURE I am not the only one. PLEASE FIX THIS ASAP. I have been a Firefox user forever, but now going to Chrome and Explorer until I hear from you about fixing this issue. Never before have I had this problem with Firefox. Bums me out. But I can't deal with the constant crashes and it is ABSOLUTELY since the last update a day or two ago.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • Whats wrong with the compilation?

    Dear all,
    I have a jsp file and when I check the codes, I dun see anything wrong with it.
    It gave me an error of below:
    C:\jakarta-tomcat-3.3.1a\work\DEFAULT\ROOT\AdvanceSearchResult_1.java:7577: Method popBody() not found in class javax.servlet.jsp.PageContext.
    out = pageContext.popBody();
    ^
    28 errors, 1 warning
         at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
         at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
         at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
         at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:534)
    I don't really get what this error means and how to debug.
    Please kindly advise me.
    Thanks in advance,
    Keng Yiam

    By servlet.jar I mean the jar file that contains the javax.* classes - particularly in your case javax.servlet.jsp.PageContext.
    It should be sitting in one of your [TOMCAT_HOME]/lib directories - lib/common I think. According to the jakarta website says that this version of Tomcat SHOULD support this call. What I was thinking is maybe you had an older version floating around your system somewhere, which could confuse Tomcat. Make sure that there aren't any sitting around in web-inf/lib or [JAVA_HOME]lib/ext etc etc
    The pushbody/popbody call will be generated by the translation of the JSP into a servlet (ie it is automatically generated code)Is it open to you to upgrade? I would recommend at least version 3.3.2, and version 4 if possble.
    Good luck,
    evnafets

  • Whats wrong with the light sensor

    Hello HP,
    I am really excited using my HP Pavilion X2. Ya i just got it from online store since 2 weeks ago. I  am happy with this one. Really. But arround 4 days ago i found a something wrong with my HP regarding the light sensor which is located in the near of camera. When i turned off the light still on, its mean it does not completely shut down yet. So the only way is press the on/off button in 5 seconds, them it will turn off completely.  I wonder what is going on with my Pav X2. Would you help me to identify and. then solve this problem? Just in case, i've already asked to the local HP service representative and they suggest me to recovery but it takes arround 7 days lefted in the service center. I decide to bringing back and try to learn how I can recover this pc tablet. Really it makes me worried. Your answer and explanation is really help me.
    Thank you so much
    Regards
    Naelil

    You arn't making any sense.. the light sensor does not light up, nore would it have anything to do with turning the laptop off.  When activated, the light sensor lets windows try and set the brightness of the screen automaticly. I allways disagree with it so im allways turning it off. 

  • I just tried to update Itunes. Something went wrong with the update and now itunes won't open

    I was notified of an update to itunes when I opened it on my PC this morning. I agreed to the update. The update did not finish and now I can't open itunes on the PC. I tried "repair" in the control panel to no avail. HELP!!

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version, or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • Whats wrong with the query

    Hi
    I have a view which is obtained by using multiple unions, sub queries which made the query complex. The view works good and gives correct data when i select all the records from the view. But the problem is when I use where clause and filter then it is giving me an error message which is shown below. In other words "select * from view" works good but "select * from view where dateran >to_date('3/3/2011','mm/dd/yyyy') ".
    Now I dont understand is why the query is not working when I use the where clause. Can any one tell what could be the reason?
    ERROR MESSAGE
    +"ORA-01427: single-row subquery returns more than one row+
    +01427. 00000 - "single-row subquery returns more than one row"+
    Thanks,

    CREATE OR replace FORCE VIEW "SECO"."D_REWORK_REPORT_V"
    ("MATERIALID", "CUSTOMER", "ORDER#", "PRODUCT", "STEELGRADEID", "GAUGE", "WIDTH"
    , "DEFECTCODE", "DEFECTCOMMENT", "RESPONSIBLEUNIT", "SEVERITY", "COMMENTS",
    "ENTRYCOIL", "ENTRYWEIGHT", "DATERAN", "SHIFTDATERAN")
    AS
      SELECT
      /*+ USE_HASH */ mf.me_id                                        materialid,
                      tp.customername,
                      v.au_nr                                         order#,
                      taup.productid                                  product,
                      taup.sc_steelgradeid                            steelgrade,
                      taup.coilorderthickness                         thick,
                      taup.coilorderwidth                             width,
                      mf.fehlertyp                                    defectcode,
                      ft.displaytext                                  defectcomment,
                      mf.fehlerverursacher
                      unitresponsible,
                      mf.auspraegung                                  priority,
                      mf.bemerkung                                    comments,
                      (SELECT matbezeichnung
                       FROM   matereignis c
                       WHERE  c.me_id = v.me_id
                              AND bemerkung = 'process scrap'
                              AND subtyp = 'Produktion'
                              AND dtstorno IS NULL
                              AND matbezeichnung = (SELECT a.matbezeichnung
                                                    FROM   d_matevents_v a
                                                    WHERE  me_id = v.me_id
                                                           AND dtstorno IS NULL
                                                           AND a.ereignisid =
                                                               ereignisiderfassung))
                                                                      entrytcoil,
                      (SELECT aftergew
                       FROM   d_matevents_v c
                       WHERE  c.me_id = v.me_id
                              AND c.ereignisid = ereignisiderfassung) entryweight,
                      (SELECT erstelldatum
                       FROM   matereignis c
                       WHERE  c.me_id = v.me_id
                              AND bemerkung = 'process scrap'
                              AND subtyp = 'Produktion'
                              AND dtstorno IS NULL
                              AND matbezeichnung = (SELECT a.matbezeichnung
                                                    FROM   d_matevents_v a
                                                    WHERE  me_id = v.me_id
                                                           AND dtstorno IS NULL
                                                           AND a.ereignisid =
                                                               ereignisiderfassung))
                                                                      dateran,
                      (SELECT CASE
                                WHEN To_number(To_char(erstelldatum, 'HH24')) < 7
                              THEN
                                erstelldatum - 1
                                ELSE erstelldatum
                              END
                       FROM   matereignis c
                       WHERE  c.me_id = v.me_id
                              AND bemerkung = 'process scrap'
                              AND subtyp = 'Produktion'
                              AND dtstorno IS NULL
                              AND matbezeichnung = (SELECT a.matbezeichnung
                                                    FROM   d_matevents_v a
                                                    WHERE  me_id = v.me_id
                                                           AND dtstorno IS NULL
                                                           AND a.ereignisid =
                                                               ereignisiderfassung))
                                                                      shiftdateran
      FROM   matfehler mf,
             matfehler_prj mfp,
             tap_prj tp,
             taup_prj taup,
             vlfehlerverursacher_v fv,
             vlfehlertyp_v ft,
             vlfehlerauspraegung_v fa,
             d_matevents_v v
      WHERE  mf.me_id = v.me_id
             AND v.au_nr = tp.au_nr(+)
             AND tp.au_nr = taup.au_nr(+)
             AND mf.fehlerverursacher = fv.fehlerverursacher(+)
             AND mf.fehlerverursacher <> 'TAC'
             AND mf.fehlertyp = ft.fehlertyp(+)
             AND mf.auspraegung = fa.auspraegung(+)
             AND mf.me_id = mfp.me_id
             AND mf.lfd_nr = mfp.lfd_nr
             AND v.fa_nr LIKE '%-%'
             AND v.bemerkung = 'kmpL3TMArb.processTTM_REPORT_TO_L3'
             AND v.dtstorno IS NULL
             AND Trunc (mf.erstelldatum) BETWEEN
                 To_date ('01/01/'
                          || ( To_char (SYSDATE,
                               'YYYY') - 1
                     'MM/DD/YYYY') AND Trunc (SYSDATE)
             AND v.ereignisid = (SELECT MIN (ereignisid)
                                 FROM   matereignis a
                                 WHERE  a.fa_nr LIKE '%-%'
                                        AND Nvl (a.bemerkung, 'A') =
                                            'kmpL3TMArb.processTTM_REPORT_TO_L3'
                                        AND a.dtstorno IS NULL
                                        AND a.me_id = v.me_id
                                        AND 2 = (SELECT COUNT (DISTINCT
                                                        matbezeichnung
                                                 FROM   matereignis b
                                                 WHERE  b.fa_nr LIKE '%-%'
                                                        AND b.me_id = a.me_id
                                                        AND b.dtstorno IS NULL)
                                 GROUP  BY a.me_id)
             AND ereignisiderfassung = (SELECT MAX (a.ereignisid)
                                        FROM   matereignis a
                                        WHERE  a.me_id = v.me_id
                                               AND a.ereignisid < v.ereignisid
                                               AND a.dtstorno IS NULL
                                               AND ( a.ausloeser = 'DIALOG'
                                                      OR a.ausloeser =
                                                         'MaterialQM_MPanel' )
                                               AND ( a.bemerkung != 'Unblocking'
                                                      OR Substr (a.bemerkung, 1, 9)
                                                         =
                                                         'kmpSIVPES'
      UNION
      SELECT
      /*+ USE_HASH */ mf.me_id
                      materialid,
                      tp.customername,
                      v.au_nr
                      order#,
                      taup.productid
                      product,
                      taup.sc_steelgradeid
                      steelgrade,
                      taup.coilorderthickness
                      thick,
                      taup.coilorderwidth
                      width,
                      mf.fehlertyp
                      defectcode,
                      ft.displaytext
                      defectcomment,
                      mf.fehlerverursacher
                      unitresponsible,
                      mf.auspraegung
                      priority,
                      mf.bemerkung
                      comments,
                      matbezeichnung
                      entrytcoil,
                      aftergew
                      entryweight,
                      (SELECT erstelldatum
                       FROM   matereignis c
                       WHERE  c.me_id = v.me_id
                              AND bemerkung = 'process scrap'
                              AND subtyp = 'Produktion'
                              AND dtstorno IS NULL
                              AND matbezeichnung = (SELECT a.matbezeichnung
                                                    FROM   d_matevents_v a
                                                    WHERE  me_id = v.me_id
                                                           AND dtstorno IS NULL
                                                           AND a.ereignisid =
                                                               v.ereignisid))
                      dateran,
                      (SELECT CASE
                                WHEN To_number(To_char(erstelldatum, 'HH24')) < 7
                              THEN
                                erstelldatum - 1
                                ELSE erstelldatum
                              END
                       FROM   matereignis c
                       WHERE  c.me_id = v.me_id
                              AND bemerkung = 'process scrap'
                              AND subtyp = 'Produktion'
                              AND dtstorno IS NULL
                              AND matbezeichnung = (SELECT a.matbezeichnung
                                                    FROM   d_matevents_v a
                                                    WHERE  me_id = v.me_id
                                                           AND dtstorno IS NULL
                                                           AND a.ereignisid =
                                                               v.ereignisid))
                      shiftdateran
      FROM   matfehler mf,
             matfehler_prj mfp,
             tap_prj tp,
             taup_prj taup,
             vlfehlerverursacher_v fv,
             vlfehlertyp_v ft,
             vlfehlerauspraegung_v fa,
             d_matevents_v v
      WHERE  mf.me_id = v.me_id
             AND v.au_nr = tp.au_nr(+)
             AND tp.au_nr = taup.au_nr(+)
             AND mf.fehlerverursacher = fv.fehlerverursacher(+)
             AND mf.fehlertyp = ft.fehlertyp(+)
             AND mf.auspraegung = fa.auspraegung(+)
             AND mf.me_id = mfp.me_id
             AND mf.lfd_nr = mfp.lfd_nr
             AND v.fa_nr LIKE '%-%'
             AND Trunc (mf.erstelldatum) BETWEEN
                 To_date ('01/01/'
                          || ( To_char (SYSDATE,
                               'YYYY') - 1
                     'MM/DD/YYYY') AND Trunc (SYSDATE)
             -- If a coil gets a rework more than 2 times, get the first record
             AND v.ereignisid = (SELECT MIN (ereignisid)
                                 FROM   matereignis a
                                 WHERE  a.fa_nr LIKE '%-%'
                                        AND a.dtstorno IS NULL
                                        AND a.me_id = v.me_id
                                        AND 2 < (SELECT COUNT (DISTINCT
                                                        matbezeichnung
                                                 FROM   matereignis b
                                                 WHERE  b.fa_nr LIKE '%-%'
                                                        AND b.me_id = a.me_id
                                                        AND b.dtstorno IS NULL)
                                 GROUP  BY a.me_id)
             AND ereignisiderfassung = (SELECT MAX (a.ereignisid)
                                        FROM   d_matevents_v a
                                        WHERE  a.me_id = v.me_id
                                               AND a.ereignisid <
                                                   (SELECT b.ereignisid
                                                    FROM   matereignis b
                                                    WHERE  b.fa_nr LIKE '%-%'
                                                           AND
                                                   b.metyp = 'Anbinden'
                                                           AND b.matbezeichnung =
                                                               v.matbezeichnung
                                                           AND b.me_id = v.me_id))
      UNION
      SELECT
      /*+ USE_HASH */ mf.me_id
                      materialid,
                      tp.customername,
                      v.au_nr
                      order#,
                      taup.productid
                      product,
                      taup.sc_steelgradeid
                      steelgrade,
                      taup.coilorderthickness
                      thick,
                      taup.coilorderwidth
                      width,
                      mf.fehlertyp
                      defectcode,
                      ft.displaytext
                      defectcomment,
                      mf.fehlerverursacher
                      unitresponsible,
                      mf.auspraegung
                      priority,
                      mf.bemerkung
                      comments,
                      matbezeichnung
                      entrytcoil,
                      aftergew
                      entryweight,
                      (SELECT erstelldatum
                       FROM   matereignis c
                       WHERE  c.me_id = v.me_id
                              AND bemerkung = 'process scrap'
                              AND subtyp = 'Produktion'
                              AND dtstorno IS NULL
                              AND matbezeichnung = (SELECT a.matbezeichnung
                                                    FROM   d_matevents_v a
                                                    WHERE  me_id = v.me_id
                                                           AND dtstorno IS NULL
                                                           AND a.ereignisid =
                                                               v.ereignisid)) AS
                      dateran,
                      (SELECT CASE
                                WHEN To_number(To_char(erstelldatum, 'HH24')) < 7
                              THEN
                                erstelldatum - 1
                                ELSE erstelldatum
                              END
                       FROM   matereignis c
                       WHERE  c.me_id = v.me_id
                              AND bemerkung = 'process scrap'
                              AND subtyp = 'Produktion'
                              AND dtstorno IS NULL
                              AND matbezeichnung = (SELECT a.matbezeichnung
                                                    FROM   d_matevents_v a
                                                    WHERE  me_id = v.me_id
                                                           AND dtstorno IS NULL
                                                           AND a.ereignisid =
                                                               v.ereignisid)) AS
                      shiftdateran
      FROM   matfehler mf,
             matfehler_prj mfp,
             tap_prj tp,
             taup_prj taup,
             vlfehlerverursacher_v fv,
             vlfehlertyp_v ft,
             vlfehlerauspraegung_v fa,
             d_matevents_v v
      WHERE  mf.me_id = v.me_id
             AND v.au_nr = tp.au_nr(+)
             AND tp.au_nr = taup.au_nr(+)
             AND mf.fehlerverursacher = fv.fehlerverursacher(+)
             AND mf.fehlertyp = ft.fehlertyp(+)
             AND mf.auspraegung = fa.auspraegung(+)
             AND mf.me_id = mfp.me_id
             AND mf.lfd_nr = mfp.lfd_nr
             AND v.fa_nr LIKE '%-%'
             AND Trunc (mf.erstelldatum) BETWEEN
                 To_date ('01/01/'
                          || ( To_char (SYSDATE,
                               'YYYY') - 1
                     'MM/DD/YYYY') AND Trunc (SYSDATE)
             -- If a coil gets a rework more than 2 times, get the second record
             AND v.ereignisid = (SELECT ereignisid
                                 FROM   matereignis a
                                 WHERE  a.fa_nr LIKE '%-%'
                                        AND a.me_id = v.me_id
                                        AND a.dtstorno IS NULL
                                        AND ROWNUM = 1
                                        AND a.ereignisid > (SELECT MIN (ereignisid)
                                                            FROM   matereignis b
                                                            WHERE
                                            b.fa_nr LIKE '%-%'
                                            AND b.dtstorno IS
                                                NULL
                                            AND
                                                           b.me_id = a.me_id
                                                                   AND 2 <
                                                           (SELECT COUNT (DISTINCT
                                                                   matbezeichnung)
                                                            FROM   matereignis c
                                                            WHERE
                                            c.fa_nr LIKE '%-%'
                                            AND
                                                           c.me_id = b.me_id
                                                                   AND c.dtstorno IS
                                                                       NULL)
                                                            GROUP  BY a.me_id))
             AND ereignisiderfassung = (SELECT MAX (a.ereignisid)
                                        FROM   d_matevents_v a
                                        WHERE  a.me_id = v.me_id
                                               AND a.ereignisid <
                                                   (SELECT MIN (b.ereignisid)
                                                    FROM   matereignis b
                                                    WHERE  b.fa_nr LIKE '%-%'
                                                           AND
                                                   b.metyp = 'Anbinden'
                                                           AND b.matbezeichnung =
                                                               v.matbezeichnung
                                                           AND b.me_id = v.me_id)); 

Maybe you are looking for