BUG? : group by section of long query changes on edit of query

I labeled BUG with a question mark, but something is definitely not right. The question is where.
I am trying SQL Developer in my Maintenance tasks for a client. At one point I was editing a big ugly query in a package that denormalize a bunch of stuff into temporary report tables As I edited and compiled strange things were happening to the group by section of queries. It took me a while to narrow it down to the group by section changing as I edited various statements.
I then took one of the queries into a separate worksheet and found the same thing happened.
Specifically, the query was an "insert into xxxx select ..." There were 20 or 30 columns and a couple criteria and a group by clause. When one of the calcs for a column was changed the first 10 or so character of the column specs replaced the group by clause.
I have screenshots of the before and after and have the export of the About dialog prepped to be sent to someone who can deal with this.
Matthew Denson

Hi Matthew,
SQL Developer has functionality that attempts to automatically generate the Group By clause for you - there arecurrently some problems with how it works for certain types of statement structures. The simplest thing to do is switch off this functionality (Tools > Preferences > Code Editor > Completion Insight > Autogenerate GROUP BY clause) which should stop it modifying the group by when you change the rest of the query.
theFurryOne

Similar Messages

  • The DEVICES section no longer appears!

    Hello! Happens that there was a time when, if I opened the app on my iphone and had the desktop version running, there would appear a section titled "DEVICES". I thought it was a problem with my (then) current iphone, but now even with a new one, nothing changed. The thing is that that way I could add songs from my local files to MY MUSIC list, (that's how I listened to Taylor Swift on Spotify), but now I can only add local files to separate playlists, and now if I play MY SONGS playlist on my phone, it won't include these songs. Did this feature disappear? Is there a way I can do what I intend to? Note 1. Even though the DEVICES section no longer shows up, I can stream and control the music and volume from the computer to the phone, so... the computer does detect my phone (?). Thank you so much for your help!QuechoRamirez

    The devices section will be coming back in a future update.
    In the meantime:
    You won't be able to see an indication in the desktop client that the device is paired with the desktop client. But as long as they both are on the same WiFi network you should be able to trigger the local files sync by toggling the offline toggle on the playlist on your device. Just make sure that the local files are in a playlist of their own (not just the built in local files playlist) so that this will work.

  • Blocking long text change if open PR and open PO found for material

    Dear SAP MM Gurus,
    Our client is having one requirement. Their requirement is like this,
    If there is any open PR, PO, contract etc. for a material ,  system should not allow to change the long text of the material.
    Is there any way out. Any user exit or BADi, which will trigger on the long text change of material master then please let me know.
    Thanking you.
    With Regards,
    Mihir

    Dear SAP MM Gurus,
    Our client is having one requirement. Their requirement is like this,
    If there is any open PR, PO, contract etc. for a material ,  system should not allow to change the long text of the material.
    Is there any way out. Any user exit or BADi, which will trigger on the long text change of material master then please let me know.
    Thanking you.
    With Regards,
    Mihir

  • My 2nd gen touch no longer adds changes from my Outlook 2003 calendar during sync. I even deleted the calendar from the iPod

    My 2nd gen touch no longer adds changes from my Outlook 2003 calendar during sync. I even deleted the calendar from the iPod & when I added it back, I still got old data. Any ideas?

    Hi William,
    See my post on: https://discussions.apple.com/message/15841192#15841192
    Hope this helps you.

  • Error - Material can no longer be changed

    Hi Experts,
    We are facing an error in the SRM portal. There is a PO with 4 line items where the GR/IR has been issued for all the 4. Then the user wants to increment the price of the 4th line item and so he deletes the 4th line item and adds a new line item with the incremented price. On doing this he gets a hard error stating 'Material can no longer be changed' for the line items 1 2 and 3. When he again undeletes the 4th line item and deletes the newly added line item with increased price he gets the same hard error only on line item 4.
    Please help with your comments.
    Regards,
    Pavithra K

    Hi Summer,
    Thanks for your response!
    The issue here is that the user is not changing the material. Instead trying to delete the GR/IR issued line item inorder to add new line item with updated price. But still we recive the hard error material can no longer be changed... Though no changes have been done to the material.
    Please let me know your thoughts.
    Thanks and Best Regards,
    Pavithra K

  • Plant can no longer be changed

    Whats the rationale of the error "Plant can no longer be changed." even when all purchase order history has been reversed
    Plant can no longer be changed
    Message no. MEPO087
    Diagnosis
    The plant has been changed manually or rederived through input in another field (e.g. contract, purchase requisition, ... ).
    However, a different value for this field is not allowed because follow-on documents (possibly including cancelled follow-on documents) exist.
    Thanks
    Regards,
    Clarice

    Thanks for your reply,
    My PO do not have any reference other than the Inforecord.
    I have remove the material, hit enter and re-enter the material again so as to refresh the screen, this error is still showing.
    I can just delete off this line and create a new line, however would like to know the rationale behind this error?
    Regards,
    Clarice

  • Long Query Runtime/Web-template Loading time

    Hi,
    We are having a very critical performance issue, i.e. long query runtime, which is certainly not acceptable by client as well.
    <b>Background Information</b>
    We are using web application designer (WAD) 2004s release to design front end of our reports built in BI 7.0 system.
    <b>Problem Area</b>
    Loading of web template on browser
    <b>Problem Analysis</b>
    Query taking so long time to run, whenever we load it through portal or even directly through web application designer. Current runtime for query is more than a min. And I have noticed that 95% of runtime is taken for loading variable screen. FYI – if I run query through Query Designer or BEx Analyzer, it takes 3-5 seconds to execute.
    We have taken all the statistics and everything proves that query is not taking any time to execute but it’s the loading time which creates bottle neck.
    <b>Possible Cause</b>
    Web template holding 11 data providers, 5 of which are based on queries and rest are on query views. These data providers load into memory in parallel which could cause delay.
    These data providers expose detailed variable screens. Out of 21 input fields, exposed by web template, 8 fields are based on hierarchy node variables and 1 on hierarchy variable. And to my knowledge each time hierarchy/hierarchy node variable loads complete hierarchy into memory whenever they are called (in other words, its not performance efficient to use hierarchies).
    I request you to please consider this as matter of high priority and provide me with suggestions to remove bottle necks and make the application performance efficient. Please let me know, if you need any further information.
    Thanks.
    Shabbar

    I would recommend you see how long the query execution actually takes without running from the web template. If actually the individual query takes long time then you need to do some performance improvement on back-end side (aggregates, indexing,... and so on).
    But the performance issue is only with web templates, then you need to find some notes on it, because, I remember we had to apply some notes in relations  of browser taking too long time to load the selection screen in web reports.
    After exhausting all the option, then I will implement precalculating the query result before hand using broadcaster.
    thanks.
    Wond

  • Special summary field in the group footer section.

    Post Author: Razzle00
    CA Forum: General
    I have a Crystal Report that reads a customer file grouped by custid.  In the group footer section I need to place the value of the category field from each customer record in a seperate field on the report to match the section text label.The output of the report would look something like this for each customer id (1 page per cusomter id)....
    Customer Table Example:Custid   Category  Section
    101        C         1101        B         3101        D         6101        A         2 230        B         2230        D         3 230        E         1115        A         5115        C         6
    Each page of report example output:************************************************<pageheader>
    Customer Number: 101
    <Details><groupfootersection>
    This customer has the follow for each section:
    Section 1: C  Section 2: A  Section 3: BSection 4:Section 5:Section 6: D
    <Pagefooter>************************************************
    How would I create a field that could diplay the category for each section in the groupfootersection of the report?I realize this could be done in the detail secion of the report for each record, but I do not have the optionto use the detail band.  It has to be done in the groupfootersection so that the fields can be placed in variousplaces depending on customers preference.
    Thanks,
    Razzle

    A group footer will dis[lay contents of the last record. You need to sort records to ensure that the last record contains link to your dynamic image.
    Ian

  • Can Grow Fields in Group Header Section Overlap

    Does anyone know of a size limitation to can grow fields on a group header section?   I have 2 fields in a group header section of my report.  They are defined as varchar(3000) and varchar(6000).   However, on my test case, the contents of each has lengths of 1,113 and 572 respectively.   The fields are listed vertically in the group.   The one that's listed on top, overlaps the one on the bottom.
       field_varchar(3000)
      field_varchar(6000)
    Thanks in advance for any help or information you can provide.

    Thank you SO MUCH!   That worked!!   I should've thought of that myself - but I'm pretty new to Crystal.

  • HT204053 Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Our Apple ID is ok and functioning.  However, I just came on as the IT for the group and cannot find how to change the name.

    Assuming you mean the personal name associated with the account, as opposed to the login (which you can change if it's not an @icloud.com. @me.com or @mac.com address) you can change this at http://appleid.appla.com . Click on 'Manage your account' and then on 'Edit' next to 'Your name' and the name currently associated with the ID.

  • Maintain Batch long text - change log

    Hi,
    Any pointers as to how to maintain Change log for long texts.
    kiki

    Tolga,
    I don't know what method member Kiki decided upon, but if it were me, I would be inclined to use the Auditing feature of ERP to keep, display, and manage Long text change logs.
    http://help.sap.com/saphelp_erp60/helpdata/en/12/a5653ade969f4de10000000a114084/frameset.htm
    Best Regards,
    DB49

  • Create Target Group in CRM from BW Query in Bex analuzer using program.

    Hi ,
    I want to create Target Group in CRM from BW Query in Bex analuzer using ABAP program RSCRMBW_TG_GENERATE_BUPA .
    I did all the setting and enable the Release the OLE DB for OLAP.
    The Target group is created but the Data from the report(BW query )  is not populated in the target group.
    Please help me what i need to do?
    Thanks,
    Nimai

    Hi Nimia,
    Did you manage to resolve this, I am having the same problem. I am not getting any errors and the target group is created but there is no data in the target group.
    Thanks,
    Rue.

  • Photoshop will no longer automatically change file extension when I do a "save as".

    I have just now been to Preferences to make desired settings for needed grid lines.  Now Photoshop 9 will no longer automatically change the file extension when I do a "save as".  Does anyone have any ideas or suggestions about this?  I am using a Mac.  Thank you.

    Are you still facing the issue, can you try deleting preferces and then try it.
    If still get no succes please lemme know the scenario you are using for saving file.
    Cheers,
    Sam

  • Bug when encoding f4v videos longer than ~ 1 hour ?

    Folks,
    We're getting a strange problem with Adobe Media Encoder.
    We encode a long (slightly more than 1 hour) f4v video
    and Adobe Media Encoder reports that the file encoded
    successfully with no errors. But when we scrub through
    the video (i.e., move the play head from start to finish),
    the video hangs early in the video.
    The source video in original H.264 Quicktime format
    works perfectly and is known to be OK. We have plenty
    of disk space and memory, so that is not an issue.
    We do not have this problem when encoding shorter f4v videos
    (even slightly less than 1 hour). Does Adobe Media Encoder
    have a bug when encoding f4v videos longer than about 1 hour?
    Is there a workaround?
    Thanks in advance,
    Raja.

    You can remove them from the iMovie timeline and replace(?) I believe iMovie plays the full quality video (there is an option on how iMovie previews the clips) but doesn't FCE play a lower resolution version? If you are not using the Highest Quality version in iMovie, what happens when the project is exported to Quicktime or iDVD? Does the video still studder?
    Regards,

  • Dynamic Picture Displaying in the Group Footer Section

    Hi all,
    I am building a sales quotation layout for SBO in crystal 2008.
    The layout has only one group. The first line in each group in considered to be a slaes tree father.
    For every group i need to display the picture of the "father" in the group footer  (one picture for every group).
    I get up to the stage when for each line in the detailes section i have a picture, but for all the lines other then the "father" line the picture is supressed.
    My problem is moving the displayed fahter picture from the detailes section to the group footer section. Every time i copy the picture field to the group footer nothing is displayed.
    Any idea?
    Thanks,
    Udi

    A group footer will dis[lay contents of the last record. You need to sort records to ensure that the last record contains link to your dynamic image.
    Ian

Maybe you are looking for

  • NamedCache remove() fail

    I had in interesting experience today. I have a NamedCache backed by a CacheStore backed by an Oracle table. Called remove() and CacheStore.erase() was called, so the record was removed from the table. But the object remained in the NamedCache. When

  • (g)mail client for console (recommendations please)

    I need an (g)mail client for the console that is reliable and supports imap. i used mutt a while ago, but it seems to be broken with "noatime" set. (i'm using a cheap netbook with tiny ssd..) i heared sup would be good, but it seems development stope

  • Please help fix my camera

    My iPhone 5 rear camera stopped working after I updated to ios7.1.   The front camera works for a few seconds and crashes afterwards . Please help me I bought the iPhone 5 because it takes good pictures now I can't even take them ....

  • New Time Capsule unable to power

    One day after setting up my new Time Capsule yesterday, it would lose power, until unplugged then plugged back in. Now it no longer powers up at all. Clearly it needs to be returned, but since I had completed my first backup, I'd rather not have my i

  • Liberar iphone 4s

    Buenas tardes, Movistar me ha dicho que ya ha solicitado la liberación del iphone 4s y que lo conecte a itunes con una tarrjeta de otro operador, lo hago pero me dice que es una tarjeta sim no valida