Problem on htmldb 1.6.1.00.03 - not present in 1.6.0.0.87

I really need help.
I have an application running for a year in which many reports and SVG graphs are based on queries in the form as you can see below.
On my linux oracle 10.1.0.3 and htmldb1.6.0.0.87 all is ok and month show ordered correctly Jan, Feb, Mar, etc
When I installed a windows machine on Oracle10g 10.2.0.1.0 and HTMLDB 1.6.1.00.03
All reports and graphs give me Jan, Apr, Jul, Feb, ...
Running the query in SQLWORKSHOP shows correct data with month ordered, in run-time it does not.
I can solve the problem in a report by forcing a "order by b.month" but in clustered and line charts done in SVG if i add an order by clause to all series at run-time I get an error "sql statement not terminated ..." the view source shows a union of all my series with order by which doesnt even run in sqlworkshop.
The question is what has changed in this version of htmldb to cause this ordering problem.
QUERY EXAMPLE:
SELECT
TO_CHAR(TO_DATE(b.month,'MM'),'Mon') YMonth,
0 -- replaced o for real query for you to test
) pipeline_value
FROM (SELECT month
FROM
(select level month
from dual
connect by level <= 12)
) b
group by b.month

Hi Scott,
I tried to reproduce problem on htmldb.oracle.com and it worked fine I could not reproduce problem. I then did some further testing and discovered the following:
My problem is shown not dependant of HTMLDB versions but Oracle versions:
My new machine I installed Oracle 10GR2 10.2.0.1.0 in SQLPLUS I see the problem so it has nothing to do with HTMLDB. In htmldb.oracle.com a did a select * from v$version and the version is 10.1.0.4.0.
My conclusion is the following query has diferent behaviour in oracle db 10.2.0.1.0 compared to all earlier versions. Earlier versions show months ordered in new version months are not shown in order.
SELECT TO_CHAR(TO_DATE(b.month,'MM'),'Mon') YMonth
FROM
(SELECT month FROM (select level month from dual connect by level <=12)) b
group by b.month
This causes lots of errors in SVG graphs. If I remove the group by in this select the problem does not show but in the final solution I cannot remove it(this is just a simplification to show the error)
If you have access to a DB 10.2.0.1.0 try this is sqlplus and compare it with a run in SQLWORKSHOP of the htmldb.oracle.com.
Thanks
Carlos Santos

Similar Messages

  • Verizon FIOS Intermitte​nt Packet Loss Problem - How to Convince Verizon Support it's NOT ME

    Hi,
    I have been having a problem with Verizon FIOS Internet AND Phone since Thursday afternoon.
    Basically I have intermittent outages several times a day of 15-40 seconds where my download doesn't work, but upload still does. This happens on BOTH my phone and internet. Therefore it's not my router or computer equipment causing the problem.
    Here's what happens:
    - On the internet: I have a periodic download problem where I can receive no data for about 15 - 40 seconds. After that it returns to normal
    - On the phone: If I'm on the phone at the same time then during that period of internet loss I also can not hear anything that the person I am talking to says. However they can hear me just fine (ie. download only problem)
    I have been talking to Verizon technical support and they have blamed my router and ONT. I have tried switching off the router, and using a different one. Also they have replaced the ONT twice.
    * This problem occurs on BOTH the phone and internet at the same time. This clearly suggests the problem is not in my own house.
    In fact I know exactly where the problem lies. I did a traceroute to google below:
    Tracing route to google.com [74.125.113.106]
    over a maximum of 30 hops:
      1     4 ms     1 ms    <1 ms  192.168.1.1
      2     5 ms     4 ms     4 ms  L300.NWRKNJ-VFTTP-122.verizon-gni.net [74.105.157.1]
      3     9 ms     8 ms     7 ms  G2-0-0-1822.NWRKNJ-LCR-08.verizon-gni.net [130.81.133.156]
      4    11 ms     8 ms     7 ms  P15-0.NWRKNJ-LCR-07.verizon-gni.net [130.81.30.148]
      5     9 ms     6 ms     7 ms  so-5-0-0-0.NWRK-BB-RTR1.verizon-gni.net [130.81.29.8]
      6     7 ms     6 ms     7 ms  0.so-7-0-0.XL3.EWR6.ALTER.NET [152.63.19.177]
      7     9 ms    10 ms     9 ms  0.so-1-0-1.XL3.NYC4.ALTER.NET [152.63.0.213]
      8     9 ms     9 ms     9 ms  TenGigE0-6-0-0.GW8.NYC4.ALTER.NET [152.63.22.41]
      9    33 ms    31 ms    35 ms  google-gw.customer.alter.net [152.179.72.62]
     10     8 ms    11 ms    10 ms  209.85.252.215
     11    18 ms    17 ms    16 ms  209.85.249.11
     12    31 ms    29 ms    29 ms  209.85.241.222
     13    30 ms    29 ms    29 ms  209.85.241.207
     14    41 ms    39 ms    34 ms  209.85.243.1
     15    27 ms    27 ms    29 ms  vw-in-f106.1e100.net [74.125.113.106]
    Trace complete.
    Then I pinged each device for hops 2-4. When the problem occurs the first one in the hop - 74.105.157.1 - runs fine. The second device - 130.81.133.156 - times out, and all other devices further down the chain time out. This clearly suggest that the device:
    130.81.133.156 has major problems.
    I have mentioned this to tech support, but they have no way for me to send them logs. Apparently the support technicians at Verizon can not be trusted with even the most basic of tools like email and the web. They also shield me from the NT (Network technician), who is so special that even the tech support guys are only allowed to text chat with him, not actually talk to him. I have enough logs here to clearly show what the problem is.
    The latest from tech support is that they are sending yet another guy by my house tomorrow to witness this problem firsthand. Then he will call support that will text chat with the NT, and MAYBE they'll start thinking it's not me.
    My main question here is: "How do I get Verizon to believe it really could be a problem in their own network?"
    Here are some threads from last year that explain exactly the same problem I'm having. So it wasn't just me:
    http://forums.verizon.com/t5/FiOS-TV-Technical-Ass​istance/Verizon-FIOS-intermittent-connection-drops​...
    http://forums.verizon.com/t5/FiOS-Internet/Intermi​ttent-Network-Timeouts/m-p/28138
    One person said Verizon finally fixed it by replacing a PON card. I'm not sure if this is the same problem as that though.
    I am an avid Starcraft player and this is driving me crazy because I am getting dropped from my games all the time. Also phone conversations suck when there's these big lags where I can't hear who I'm talking to.
    I have had Verizon FIOS internet for 3 years now and this is the first problem I've ever had with it. But I'm starting to get majorly frustrated at how long it's taking to resolve the problem.
    Here is a sample of the ping logs I was talking about for different devices all at the same time.
    Device 2 in the Trace Route:
    Reply from 74.105.157.1: bytes=32 time=78ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=57ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=41ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=35ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=34ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=41ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=43ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=59ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=24ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=48ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=5ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=5ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=5ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=4ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=3ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=20ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=19ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=18ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=17ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=17ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=17ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=17ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=37ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=17ms TTL=126
    Reply from 74.105.157.1: bytes=32 time=16ms TTL=126
    Device 3 in the Trace Route:
    Reply from 130.81.133.156: bytes=32 time=7ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=7ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=8ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=8ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=8ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=10ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=9ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=10ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=13ms TTL=253
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Reply from 130.81.133.156: bytes=32 time=8ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=8ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=8ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=7ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=6ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=8ms TTL=253
    Reply from 130.81.133.156: bytes=32 time=14ms TTL=253
    Device 4 in the Trace Route:
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=7ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=6ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=7ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=7ms TTL=252
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=7ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=6ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=8ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=7ms TTL=252
    Reply from 130.81.30.148: bytes=32 time=6ms TTL=252
    Any help, thoughts, suggestions, etc would be great appreciated!
    ~David

    I understand your logic, but you have not eliminated 74.105.157.1 as the problem.  It could be allowing packets out, like outside callers hearing you, but not allow them back in. Since you have results pinging out, trying ping back in. Use this packet loss tool.  You do not need to catch it when it's not working because this tool will ping your IP address (and all the hops in between) for up to 7 days. You will easily see when packet loss is occurring.
    If it can successfully ping 74.105.157.1 when the problem occurrs, then 130.81.133.156 is not the issue. This may not help dealing with the personalities at Verizon, but it will help definitively knowing which device is the issue.

  • Problem with new version 4.3.2 apps not working " after update to the new version "

    Problem with new version 4.3.2 apps not working " after update to the new version "
    i was in 4.3.1 then i do the update , but now after update i face this problem , so what i Supposed to do ?!!

    Hi There
    Had the same problem as you. App would terminate when launched.
    Solution to working You Tube app:
    -Go to playstore
    - Uninstall app (it doesn't remove the app, only removes the update)
    - "Et Voila", working again.
    This doesn't correct the problem, it's just a workaround for you to be able to use youtube app again.
    Hope it helped.
    Best Regards

  • Communication problems: A device attached to the system is not functioning.

    Hi all,
    I'm developing an applet and using the OMNIKEY 5321 CL reader for communication and testing. One of the requirements for our card is to read large binary data.
    For this purpose i used extented lenght APDU to read the data from card.
    When I tested it via JCOP simulation I was able to read up to 32767 bytes as described in specification. But problem occurs when I test it with reader, in this case I'm able to read max 298B in APDU response. When I send greater byte count than 298B i have got following error in JCShell plugin:
    jcshell: requestSessionKey.jcsh[1]: Error code: -6 (Card terminal error)
    jcshell: requestSessionKey.jcsh[1]: Communication problems: A device attached to the system is not functioning.
    Regarding the extend lengh APDU support it should by OK from the OMNIKEY. I'm using newest driver 1.2.9.2 for Win 7.
    Here my configuration:
    JCOP:JCOP 2.4.2r1
    JAVA CARD: jc301
    Global Platform: gp22
    Can somebody help me? Any ideas?

    If you want to use PC/SC directly, I have a simple Go program that reads an APDU file (just hex encoded APDU strings) and sends them to a smart card. You can give that a try if you like.
    The code is at: https://bitbucket.org/safarmer/go-apdus
    There is a Goclipse project as well as the source. You will need to install Go and run "go get github.com/ebfe/go.pcsclite/scard" to install the required PC/SC wrapper. Once you have done this you can run the program with -file <apth to text file>
    An example text file:
    # A comment that is ignored
    00a4040000
    80ca9f7f00- Shane

  • Since uninstalling / reinstalling iTunes I am not able to sync iPhotos with my Apple TV with the following warning message stating that this is due to a 'problem on your computer. The disk could not be read from or written to'. Please help!

    Since uninstalling / reinstalling iTunes I am not able to sync iPhotos with my Apple TV with the following warning message stating that this is due to a 'problem on your computer. The disk could not be read from or written to'. Please help!

    Welcome to Apple Discussions!
    Is all the software on your computer up to date?
    iTunes
    iPod Updater
    Also, try The Five R's
    btabz

  • Im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor.

    im trying to download itunes 10.5 but keep getting error message that says: There is a problem with this Windows Installer package. A problem run as part of the setup did not finish as expected. Contact your support personnel or package vendor. I am using windows XP 32 bit, all the other computers in my house downloaded just fine, no problems, however this is the computer my iphone is set up to, ive tried doing a virus scan, windows update, downloading other things, updating everything possible, everything works fine, its just itunes that wont download, anyone have any other ideas?

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • I have had problems with iTunes lately it says iTunes was not installed correctly and to reinstall I tried 3x and still will not. Now I get msg it can not start because MSVCR80.dll is missing reinstall to fix??

    I have had problems with iTunes lately it says iTunes was not installed correctly and to reinstall. I tried 3x and still will not. Now I get a message it can not start because MSVCR80.dll is missing reinstall to fix??

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I have a problem in activate Alaaclaud account and I can not open the device

    السلام عليكمI have a problem in activate Alaaclaud account and I can not open the device

    Standard troubleshooting...
    Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    If still a problem restore with your backup.
    If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    If still a problem, it's likely a hardware issue.

  • Having problems converting pdf to word. I'm not able to convert the file, what do I need to do?

    having problems converting pdf to word. I'm not able to convert the file, what do I need to do?

    Hi prates77,
    I'm sorry to hear that you're having trouble converting files. Are you receiving the conversion error regardless of the file that you try to convert? Does the error occur whether you use the web interface, or convert via Reader? And an odd question: how many files do you have stored in your Acrobat.com account? We have seen reports of this error when there are a large number of files stored in the root folder of your Acrobat.com account.
    I look forward to hearing back from you.
    Best,
    Sara

  • New problem of photos looking "splotchy" in imovie but not in iphoto?

    I've made a bunch of home movies in imovie 08 but on my most recent one I have a new problem.
    I noticed a number of photos have what I call a "splotchy" or "granular" look to them. Yet, when I view the same photos in iphoto, they look fine. I notice most of the "splotch" takes place in darker colors, especially blues and such. For example, I was in a photo wearing a navy blue shirt. The stomach to the arm of the shirt looked like I had an enormous sweat stain even though nothing was there in reality. The picture looks fine in iphoto.
    On my camera, I did make one change. I maxed out the pixel count to the highest that my picture allows rather than the one below it. I think the compression is set to the maximum allowed. Not sure if this would impact it.
    When I expert, I use expert settings to go to quicktime.
    Any thoughts as I'd like to avoid this in the future and possibly convert this movie again to avoid the splotches, if possible.
    Thanks.

    Apply the two fixes below in order as needed: 
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • After upgraded ios6 i got problem with whatapp. "last seen" function is not working

    HI eveyone
    after upgraded ios6 i got problem with whatapp. "last seen" function is not working .. it's doest show last seen who enter the chat . is anyone have the same problem .. i even restore and reinstall to my ph but it's  not work .. if someone know how to fix it, plz tell me how to do .. thanks

    Also, when I check this post several times a day, I always see warning 'Connection is untrust'. If I close browser and reopen immediately everything is ok.

  • Since day light savings, events are not saving in my calendar. Has anyone else had this problem?, Since day light savings, events are not saving in my calendar. Has anyone else had this problem?

    Since day light savings, events are not saving in my calendar. Has anyone else had this problem?, Since day light savings, events are not saving in my calendar. Has anyone else had this problem?

    Greetings,
    I have not heard of that issue although some people have reported events showing an hour earlier / later (though I haven't seen that personally).
    Questions:
    What version of the Mac OS are you running (Apple > About this Mac)?
    Can you make an event and then it just disappears?
    Are you using iCloud / MobileMe / Google / Yahoo / Some other server based calendar?
    Try these in order:
    Go to Apple Menu > System Preferences > Language & Text > Formats > Region. Region should be set to the country of your choice. Do not have it set to "Custom" as this can have unexpected results in the iCal window.
    Go to Apple Menu > System Preferences > Date & Time and make sure the Date and Time are correct and that the correct Time Zone is selected.
    If that doesn't resolve the issue:
    1. First make an iCal backup:  Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    2. Go to iCal > Quit iCal
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    --- NOTE: To get to "Home > Library" in Lion: Click anywhere on the desktop and then click on the "Go" menu at the top of the computer screen while holding down the "option" key on the keyboard.  You will see "Library" in the menu.
    4. Launch iCal and test.
    If the issue persists:
    1. Go to iCal > Quit iCal
    2. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Preferences > com.apple.ical (There may be more than one of these. Remove them all.)
    --- NOTE: Removing these files may remove any shared (CalDAV) calendars you may have access to. You will have to re-add those calendars to iCal > Preferences > Accounts.
    3. Launch iCal and test.
    Hope that helps.

  • My problem is simple: my recently changed Password does not work

    my problem is simple: my recently changed Password does not work

    Flash Player doesn't require a password so it's not as simple as you make it out.
    Where exactly are you being asked for a password , and for what?

  • I have this problem,    Tag 'A2B0': Number of input channels is not correct.     Tag 'A2B0': Number of output channels is not correct.     Tag 'B2A0': Number of input channels is not correct.     Tag 'B2A0': Number of output channels is not correct.

    i have this problem,   
    Tag 'A2B0': Number of input channels is not correct.    
    Tag 'A2B0': Number of output channels is not correct.    
    Tag 'B2A0': Number of input channels is not correct.    
    Tag 'B2A0': Number of output channels is not correct.
    I work with Capture One Pro 7, photo editor
    what can I do to solve this problem?

    You may have better luck asking your question here: Capture One 7.x Software for Mac
    OT

  • I have problem with my iphone 4s my battery is not keeping charge. how can I get help with this one. it is less than a year that I purchased this cell.

    I have problem with my iphone 4s my battery is not keeping charge. how can I get help with this one? it is less than a year that I purchased this cell.

    I would like to know the answer to that one.  I realized this was happening just after upgradeing my iOS to 6.  Then when I looked up my purchase date, I was about 5 days past my one year warranty.  So I'm dead in the water.  Apple will replace the battery, but it will be about $80+.  I took it to the Apple store, and they checked a bunch of stuff, but said that it seemed ok.  I'm debating getting a battery for a more reasonable price off of ebay.  But if it's the iOS thats draining the battery, then I'm not going to be able to help it.  I wish I knew a better way to tell if its the battery, the phone, or the iOS.

Maybe you are looking for

  • Share Point folder size limit - File Services

    I created a new folder inside a share point using Server Admin. Is there a way to set a folder size limit (quota) for that folder. P.S. I am NOT talking about user accounts quotas for home folders created using Workgroup Manager! ...Just any new fold

  • Syncing an Mac Mini with a Macbook Pro Over Wifi

    I'm setting up my new office and I've got a Mac Mini I've had for several years and a Macbook Pro that I use at home.  I travel quite a bit and it would be really nice to have my Mac Mini and my Macbook synced. I'd like to work all day on my Mac Mini

  • NaN/NaN/NaN (Not a number)  Flash forms type="DateField"

    I have an application using Cold Fusion flash forms where the user selects the date with the flash calendar and the application stores the date in text format in the database.  When I have to do date calculations I use the cdate() function to convert

  • Error is due to depre periods

    Hi All, During depreciation run, the following error shows: Maximum investment amount exceded in area 51 Message no.AA642 Asset affected :  00000000000xxxxx-000000 Diagnosis Process terminated, because the total investment support amount 1234.00 exce

  • Can I export an animated PNG (APNG - I think) from Photoshop? If so, how?

    Can I export an animated PNG (APNG - I think) from Photoshop? If so, how?