Difference in behavior of sql and pl/sql after migrating from 9i to 11g

after migrating our database from oracle 9i to oracle11g, the developpers are worry that the behavior of the queries and pl/sql procedures/functions will change
example :
in 9i, select salary,count(*) from emp group by salary, it will display the rows sorted by salary
in 11gi, select salary,count(*) from emp group by salary, it will display the rows not sorted by default, we have to add the clause order by salary.
somebody could give the list of other difference in behavior (SQL and PL/SQL) agter migrating from 9i to 11g
Thanks a lot.

Tell your developers: garbage in - garbage out. In relational databases only ORDER BY ensures row order. If your developers relied on GROUP BY implemented by SORT and therefore returning ordered rows they had to realize code they wrote is Oracle release dependent and sooner or later code would require changes. And that "sooner or later" is now reality. In newer versions ORACLE can do GROUP BY via SORT or via HASH. And if it is done via HASH - don't expect ordered results. So tell your developers "payback time".
SY.

Similar Messages

  • Just got a new imac and my iwork software wont work. I have the serial numbers but after migrating from my old mac running OSX tiger it won't even give me that opportunity. I do not have any discs as this was downloaded. Help

    Just got a new imac and my iwork software wont work. I have the serial numbers but after migrating from my old mac running OSX tiger it won't even give me that opportunity. I do not have any discs as this was downloaded. Help

    Hi, hopefully you guys can help me out, I just
    purchased a G5 iMac to replace my aging dell desktop,
    and now i'm more or less completely os x dependant
    (I've had an ibook for a few months now). Anyway, I
    have a few questions:
    1. Does anyone know of a (free) mail notifier tool,
    that will alert me when I recieve new pop3 mail? I
    used to use AIM for this in windows
    The built in email program does sound an alert for new messages.
    2. Anyone know of a good (free, again) IRC client?
    iChat works well.
    3. I noticed earlier that my screen was flickering,
    it seems to have subsided for now, but is that normal
    to encounter in a new display? It wasn't really bad
    flicker, but I could see it.
    No idea.
    4. I leave my desktops on 24/7x365, will that be a
    problem with this iMac? Display shuts off of course
    after 30 mins
    You could set the iMac to go to sleep after non use. My Macs are
    always sleeping when not in use, waking them up takes seconds.
    Unlike windoze, never knew if it would be locked up or not.
    5. Should I get the extended warranty? I'm usually
    against them, but I am expecting this computer to
    last me at least 3 years (for $1300 it better!)
    before I upgrade, as I got that much out of a Dell
    and from what I understand, Mac's do not age nearly
    as fast as Windows pc's.
    It is well worth the cost. Never know what might happen. Also
    it is good insurance for future upgrades. I traded in my G4 tower
    purchased two years ago for 75% of what I paid for it. Apple care
    transfers, giving the buyer the remainder of your warranty.
    Thank you for any help,
    -Evan

  • Resources and public folder database - migration from 2007 to 2013

    We migrated our resource mailboxes thru the move mailboxes in 2013 EAC but now we're at the point of decommissioning our 2007 servers.  Before the actual decommission we stopped all 2007 services and dismounted all 2007 databases.  Once we did
    this the resources would no longer work - errors pertaining to cannot directly book the resource.
    I had to bring up the public folder database for the moved resources to work again.  We do not use public folders any longer so we did not do any type of public folder migration.  Do I need to do this for the resources to work?

    Hi,
    Could you please tell me your Outlook version?
    I saw someone got the following error when he tried to book resource after migrating from Exchange 2007 to Exchange 2010, if Outlook version is Outlook 2007. But Outlook 2010 worked well.
    "Cannot directly book a resource for this meeting."
    Please switch between online and cached mode to check the result. And please check if this issue occurs in OWA.
    If possible, please use Outlook 2010 to check the result.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • SQL Devloper Migration from SQL SerProcedurs created as Functions in Oracle

    Hi All,
    This is the first time I am using SQL Deveoper to migrate SQL Server database to Oracle.
    I have SQL Developer 3 and I did migration from SQL Sever 2008 to Oracle 10g using online migration.
    Everything was done perfectly, but there are some extra tables created in Oracle which are not present in SQL Server database.
    And also I observed lot of programs which are stored procedures in SQL Server are converted as functions in Oracle.
    Does someone knows how to fix this problem.
    Thanks

    Hi,
    A SQL*Server stored procedure can be converted to an Oracle function depending on how it is written and what it is doing. In the documentation -
    Oracle® SQL Developer
    Supplementary Information for Microsoft SQL Server and
    Sybase Adaptive Server Migrations
    In Chapter 3 in the section -
    3.4.2 Function
    It says under Table 3-6 -
    In Microsoft SQL Server or Sybase
    Adaptive Server, you can convert a stored
    procedure to a function in Oracle because
    the stored procedure in Microsoft SQL
    Server or Sybase Adaptive Server can
    RETURN an integer value to the calling
    routine using a RETURN statement. A
    stored procedure returns a status value to
    the calling routine even in the absence of
    a RETURN statement. The returned status
    is equal to ZERO if the procedure
    execution is successful or NON-ZERO if
    the procedure fails for some reason. The
    RETURN statement can return only
    integer values
    And what tables do you see in oracle that are not there in SQL*Server ? Some tables are created as part of the migration as they are needed to have the same functionality as in SQL*Server.
    Does your migrated Oracle database work in the same way as the SQL*Server database ? If not, then please give use specific examples and we can follow up.
    Regards,
    Mike

  • Check Stored Procedures after Migration from MS SQL Server 2008 to Oracle11

    I successfully migrated my application database (azteca) from MS SQL Server 2008 to Oracle 11g R2. After migration, I found there are few stored procedures are not valid. How do I check these invalid stored procedures and find what is wrong with them by using SQL Developer? Thanks for your help.
    Kevin

    Hi Kevin,
    You posted quite a bit today, so perhaps you have already worked this out. If not...
    1. View -> Reports -> Data Dictionary Reports -> All Objects -> Invalid Objects [for a specific schema name]
    2. Next, for each invalid stored procedure listed in (1)...
    a. Open in the code editor from the Connections navigator tree
    b. Click on the Compile icon (two gears meshed together) in code editor tool bar.
    c. Look in the Compiler log pane for errors.
    d. Correct the errorsOf course, success in addressing any errors depends on your skill level dealing with Oracle PL/SQL.
    Also, it may be helpful to read over section *3.2 Stored Procedures* in the supplementary migration guide:
    http://docs.oracle.com/cd/E35137_01/doc.32/e18462/trig_stored_proc.htm#CHDEIGBC
    Regards,
    Gary
    SQL Developer Team

  • Sql server migration from 2005 to 2012 (110)

    hi, experts, 
    the database of  .net web form application (Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1025  ) that I am responsible will be migrated to sql server 2012 (110). 
    the .net webform use the functions from System.Data.SqlClient. should be ado.net
    e.g.
    public static DataSet LoadByID(int id)
    SqlConnection conn = new SqlConnection();
    DataSet ds = new DataSet();
    try
    conn.ConnectionString = ConfigurationManager.ConnectionStrings["connection_string"].ToString();
    conn.Open();
    SqlParameter[] aryParams = new SqlParameter[1];
    aryParams[0] = new SqlParameter("@ID", SqlDbType.Int);
    aryParams[0].Value = id;
    SqlCommand cmd = new SqlCommand("a_store_procedure_name", conn);
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Parameters.AddRange(aryParams);
    SqlDataAdapter sqlAdapter = new SqlDataAdapter(cmd);
    sqlAdapter.Fill(ds);
    catch (Exception ex)
    throw ex;
    finally
    if (conn.State == ConnectionState.Open)
    conn.Close();
    return ds;
    I cloned the database from 2005, restore into 2012 and change the compatibility level to 110 of cloned database.
    I am doing tests on the sql server 2012 from the web application user interface. (changed connection string to new 2012 db)
    I found that I always hit this error 
    any configuration for whole web form application?
    Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Source Error:
    delaynomore.

    Hi delaynomore,
    According to your description, you fail to execute the function with timeout error after migration to SQL Server 2012. Based on my research, the issue could be due to the long running tasks or uncommitted transactions.
    To troubleshoot the issue, besides Olaf's suggestion to check the connection to SQL Server 2012 instance and the stored procedure using SQL Server Management Studio(SSMS) manually, you could also follow the methods below.
    1. Execute that procedure manually using SSMS and check if it takes a very long time to execute and return. For example, there could be millions of rows being updated. If it takes a long time, you can adjust the CommandTimeout accordingly.
    2. Execute the following statement in SSMS to check if there are any uncommitted transactions: dbcc opentran ('yourDatabaseName'). If there are any uncommitted transactions, please change the  stored procedure accordingly to commit the transactions.
    For more information about the process, please refer to the article:
    http://blogs.msdn.com/b/spike/archive/2008/07/31/timeout-expired-the-timeout-period-elapsed-prior-to-completion-of-the-operation-or-the-server-is-not-responding.aspx
    Regards,
    Michelle Li

  • SSO and Portal down after upgrade from AS 10.1.2.0.2 to 10.1.2.3

    SSO and Portal is down after upgrade from AS 10.1.2.0.2 to 10.1.2.3. All others are running fine. Any similiar experience and solution?
    Thanks.
    Andy

    cn=XXX information is missing for the SSO Server (orasso) when going to http://servername:7777/pls/orasso/orasso.home. Is that causing the problem? If so, how can I resolve it?
    Thanks.
    Andy

  • Poor performance and duplicate apps after migration

    I migrated from a G4 ti book to a MacBook pro and have never been happy. I have duplicate applications and one will say in parens (from old mac) behind the name. It also moves very slow, especially in Eudora. I made a new user on the new computer in hopes to start fresh in Apple mail etc but when I switch to that user (the first one on the computer) Safari won't work. On and ON... I am so frustrated, nothing works right, even slower than my tibook and I don't know where to start to try to fix it. Should I try to figure out what I have done in the last 3 weeks and pull it off and 'restart" the whole process?
    Help,
    Debbie

    So are you saying that I revert back to factory settings and start over? I still don't understand why I would have 2 applications identical except the (from old mac). Example - "Adobe indesign CS2" then the next folder is "Adobe Indesign CS2 (from old mac) ".
    does that mean the application is on the machine twice?

  • I have a big problem with Lion and PGP. After upgrading from snow leopard to lion I cannot access my PGP drive which was generated under snow leopard. PGP does not start but gives a notion that lion cannot work with my PGP version. Solution?

    After upgrading from Snow Leopard to Lion I cannot access a PGP drive which was generated under snow leopard. PGP does not start. When I try to start I just receive a message that Lion cannot work with PGP. How can I now access important and confifential informatio which I have stored in PGP (snow leopard). Do I have to move back to snow leopard. If so, how can I do this? 

    If you have this product,
    http://www.symantec.com/business/support/index?page=content&id=TECH165159
    you have to go back to Snow Leopard.
    To re-install SL, back up your home directory, format and re-install.

  • External monitor flashes on and off randomly after wake from sleep

    I have a Mid-2009 13" MacBook Pro 2.26GHz hooked up to a Samsung SyncMaster 2033 External monitor via the MiniDisplayPort-DVI connector.
    After waking from sleep, the external monitor will go blank for a fraction of a second at random intervals (display on the MBP remains normal). The flickering clusters are about minutes apart, while flickers within a cluster (usually 2-3 flickers per cluster) is of order seconds apart. "Detect displays" will not make this go away. The only way I can make it go back to normal is to unplug-and re-plug the MiniDisplayPort connector on the MBP.
    Anyone else got a more elegant solution to this that does not involved wearing down the displayport?

    I tried this.  No change.  However, I did start playing with the Display settings.  Oddly enough, when I change the disfunctioning monitor to 720p it starts working again.  Does this mean anything to anyone? 

  • Mouse stutter and UI unresponsiveness after returning from standby

    Hi guys, after upgrading to Leopard the mouse pointer on my 15" MBP stutters after returning from standby. Weird thing is that this happens only after it was in standby for awhile, maybe 5 to 10 minutes. If I return from standby after a few seconds the stutter does not happen. I can only resolve this with a restart. This did not happen in Tiger. Is there anyone else experiencing this?

    Well I had this problem. Did a fresh install of Leopard a week and a bit ago and it seemed to run much better. Set my machine up how I like it and it's back to how it was. I didn't setup my Dashboard right away so maybe your onto something. I'll have to try and force myself to not use it for a bit and see how it goes.
    We should collect a list of 3rd party widgets as I think initially with the default 4 on display it was fine.
    I've only got 4 other than the standard Apple supplied ones.
    - iStat Pro 4.2
    - TV Forecast 2.3
    - Amazon Album Art 2.12
    - Application Update 1.5.8
    Now both iStat Pro and TV Forecast claim to be Leopard compatible. Amazon Album Art also mentions improved Leopard support was added in version 2.11. Application Update doesn't claim to be but seems to work fine. However I think this was the last widget I added and a few days after the others. I think it was fine with the other three so I might try removing it and seeing what happens.
    Still I'd love to know what other Widgets you guys have. Maybe we all have the a similar one which we can narrow down to being the cause. Or maybe it's not 3rd party widgets at all but the Dashboard as a whole. Still I'm more likely to think it's a 3rd party widget.

  • HT1338 After migration from MacBook 13' running OSX 10.6.8 to MacBook Pro 15' Retina OSX 10.8.2 using Migration assistant, the Bluetooth assistant mentions "name not available" and it cannot detect my Magic trackpad. There is no mention of any mishap.

    I just migrated from MacBook 13' OSX 10.6.8 to MacBook Pro 15' Retina OSX 10.8.2 with the use of Migration Assistant. When attempting to install my Magic Trackpad, the Bluetooth Assistant mentions "name not available" so that the device cannot be detected.  In have disconnected the firewall.Thanks for assistance.

    Create a new, temporary admin account and see if you can set it up in that account.

  • DFS network drive giving error to many clients of Windows 7 and 8.1 after accessing from run

    Hi,
    My network drive (DFS) is giving below error after upgrade OS from windows 2008 to 2012. On many clients of windows 7 and 8.1 we are able to resolve
    by rebooting the system or by net use * /d command. But many user still getting error after accessing from mapped drive as well as from RUN command.
    some area stupid thing happening, after accessing from RUN like \\networkdrive then it will open successfully and show all the shared folder. When we
    click on particular shared folder it gives below error message and some works perfectly fine. Even though that person have rights on both the shared folder.
    """""check to make sure that the disk is properly inserted, or that you are connected to the internet or your network, and then
    try again. If it still cannot be located, the information might have been moved to a different location. """"
    Kindly suggest what should I do now?
    Inder Johar

    Hi Inder Johar,
    Please check if clients could connect to \\domain\dfsroot and UNC path. You could refer to the article below to troubleshoot the issue:
    DFS mapping error: Refers to a location that is unavailable
    http://jthys.wordpress.com/2013/02/20/dfs-mapping-error-refers-to-a-location-that-is-unavailable/
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    It’s simple enough to use a tool like ROBOCOPY or the File Server Migration Tool (FSMT) to copy your previous created folders over to the new name space
    \\networkdrive.
    Robocopy
    http://technet.microsoft.com/en-us/library/cc733145.aspx
    Microsoft File Server Migration Toolkit 1.2
    http://www.microsoft.com/en-us/download/details.aspx?DisplayLang=en&id=10268
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • HT204655 How to have a unified Photos Library after migrated from iPhoto and Aperture?

    The "HT204655: Get started with Photos for OS X" do not help. If you have previously used iPhoto and Aperture, when you "migrate" the iPhoto, then follow the steps to "migrate" the Aperture library, you end up with 5 files in your Pictures folder: Photos Library (from iPhoto), Photos Library 2(from Aperture), iPhoto Library (Not sure if can be deleted or not - of course no), Aperture Library (for some reason blank), Aperture Library 2 (Created by Photos?).
    So, looks like a mess and no easy way to make a clean migration.
    I've a hope that exists a solution to have a single Photos Library with the merged iPhoto and Aperture contents, like a real migration.
    If I export everything (From iPhoto and Aperture) then import in the Photos in a single Library should work, but will lose all the organization, faces, etc...

    You could merge libraries with iPhoto Library Manager, but I never tried this for merging Aperture 3 libraries with iPhoto 8.
    Are you planning to keep all your photos in iCloud? Then consider to merge them in iCloud, but it will take a long time.
    Are you using iCloud Photo Library (Beta) and have enough iCloud storage for the merged library?
    Wait, till your current Photos Library has been completely uploaded to iCloud.
    Then quit Photos, and launch it again, while holding down the alt/options key. Select the old iPhoto lIbrary.
    When the upgrade of the old library has been finished, make this library the System Photos library (in the Photos Preferences > General).
    Enable again iCloud Photo Library (Beta) in the Photos > iCloud preferences.
    Now Photos will upload the new library to iCloud as well and create a merged library in iCloud. After this merged library synced with your Mac, you will have a merged Photos library.

  • ITunes, iPhoto and system clock crash after migrating from Snow Leopard

    Hello everyone,
    I had MacBook Pro with Snow Leopard but had to migrate to older one with 10.5.8 today.
    After 4 hours it finished and everything seems fine except 3 things:
    1. iTunes crashes on each launch attempt. I even followed an article to uninstall it, got a new one from apple.com but I still have the same issue.
    2. iPhoto opens with success and shows folders overview, but when I click to enlarge a photo I get a blank screen. After about 2 minutes the program quits unexpectedly.
    3. System clock behaves really strange. It seems to ignore time zone settings completely. I select Melbourne, Australia and quit Sys preferences but when I get there back I still have GMT time. Setting manually gives me nothing - time of email is still GMT.
    Anyone have seen similar problems after migrating? My primary guess is that this issues are caused by migrating to older Mac OS version, but maybe it's not the point. Anyway, would be great to have this fixed. Without iPhoto, iTunes and proper times in e-mail inbox my Mac is pretty useless...

    I installed this update, restarted but nothing helped. By permissions - what do you exactly mean, how could they change or what could be broken?
    I also noticed that what is broken as well are the PYM Player and Quick Time. When I open a movie, I got the sound but no video output at all. It is similar to iPhoto where I see the miniatures but normal size viewing goes blank.
    Does anyone has a clue what can be broken that causes such problems?
    My Mac is now really just an e-mailing and surfing machine...

Maybe you are looking for

  • How to get the values of the fields inside pageFragment

    Hi All, I am working on Jdeveloper 11.1.1.5. I have a fragment "home.jsff", in that fragment i have two textboxes(txt1,txt2); Then i have created a bounded taskflow "myTF"and dragged the home.jsff inside it and used as a default activity. Now finally

  • Adding link to .pdf

    My question is how to create a blue clickable link in a pdf created by publishing a document in WP to pdf.  I have Adobe Reader but not Acrobat.  Can I create the link with the Reader?  or must it be done in WP?  If in WP what web address should I go

  • DI API - Retrieve specific message object when you already have the code?

    The MessagesService object lets you retrieve a message using the message header. It also lets you retrieve a list of message headers from the inbox or sent mail. Unfortunately, I don't see any way to create a single message header if I already know t

  • Adding text to photo

    I would like to add text to photos - that is have the text appear on the photo itself. Can I do this with iphoto? Thanks, M.

  • BBP_EXTREQ_TRANSFER error:Entries stuck in queue

    Hi all,    We  are running on SRM 5.0.I am executing the report BBP_EXTREQ_TRANSFER for transferring the PR's from R/3 into SRM Sourcing cockpit but the  entries are getting stuck into the outbound queue in R/3.I am getting the  error as SYSFAIL-"Exc