• savibp3 - Saturday, January 21, 2017 2:27 AM

    I have stored procedure which takes more than a min to run in sql browser.when i call from java UI it times out.It has group by and order by clause.Should the group by have same number of columns as order by?? to fix.

    You will have to share much more detailed information on the procedure, the data set, indices, preferably the actual execution plan(s) etc. 
    😎

    Further,

    1. Are the same parameter values passed in those instances?
    2. Are the calls made from the same system?
    3. Are the calling systems on the same network?
    4. Are the result sets identical?