EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  SQL Result View History

    Posted Wed May 25, 2011 08:42 AM
    Hello

    SQL results was persistent on SQL Result view with RBD v.7.5.1.5. We run more than one queries once and watch results when it's needed but with RBD v.8.0.1 SQL results disappear after you clicked another execution or run a new one. Is this a bug or a planned change? (Note: I am sure SQL Results View Options are same on both versions.)

    I am not sure if this is correct forum to ask this but can't find a better one, hope someone move if it is incorrect.

    Thanks
    SystemAdmin


  • 2.  Re: SQL Result View History

    Posted Wed May 25, 2011 12:51 PM
    Mehmet,

    The SQL Results View (and the whole database development perspective) is functionality that we inherit from either Rational Application Developer or from Eclipse itself. I have noticed the same change when I was using the SQL tools.

    I am checking to see if anyone knows if there is a way to control the behavior you are seeing. So far, I have not found any preference to control this behavior or found any information regarding this outside of the preferences that might help this.
    markevans


  • 3.  Re: SQL Result View History

    Posted Fri June 10, 2011 05:29 PM
    Mehmet,

    I found out this was a bug in RAD that we will pick up at some future point since we are built on RAD. It should work as you expect after that.
    markevans


  • 4.  Re: SQL Result View History

    Posted Fri March 25, 2016 02:53 PM

    In Data Studio, I am trying to save the SQL history - not just the results tab but the SQL itself.  If I export or copy from the SQL history tab all I get is the results.  Does anyone know if its possible to copy the SQL from the history as well?  Data Studio has to be saving it somewhere, I haven';t been able to locate it.

    40TN_Mark_Walton


  • 5.  Re: SQL Result View History

    Posted Fri March 25, 2016 03:07 PM

    What is your Data Studio version ?
    I did It and It saved ok !

     

    (SELECT A.CD, VRS, DT_VRS
       FROM PROD.TEST A
      WHERE A.DT_VRS =
           (SELECT MAX(DT_VRS)
              FROM PROD.TEST B
             WHERE B.CD       = A.CD
               AND ((B.VRS >= 92) OR
                    (B.VRS  = 01)))
        AND A.CD >= 0 )
    ORDER BY 1
    Action type:     NLS missing message: OperationCommand_action_execute in: org.eclipse.datatools.sqltools.result.PluginResources
    Profile name:    DB2P
    Database:        DB2P
    Execute time:    20/03/16 02:08

     
    Query execution time => 188 ms
    ---------------------------------------------------------------------------------------

     CD    VRS        DT_VRS
     ----- ---------- ---------------
       105         95 18.11.15
       107         95 17.11.15
       149         95 22.10.15

    Hsieh


  • 6.  Re: SQL Result View History

    Posted Fri March 25, 2016 03:10 PM

    I have 4.1.1

    When I save the history it just saves the results.

    40TN_Mark_Walton


  • 7.  Re: SQL Result View History

    Posted Fri March 25, 2016 03:43 PM

    Version OK !

    I did some test and all same result.

    You can tried to watch the SQL RESULT VIEW proferences.

    Hsieh


  • 8.  Re: SQL Result View History

    Posted Fri March 25, 2016 03:31 PM

    I figured it out.  If you select a history item and right-click and select copy, it only copies the results but if you select save history it saves the SQL with it.

    Thanks for your response Hsieh!

    40TN_Mark_Walton