Automic Workload Automation

 View Only
  • 1.  Retrieve SQL Statement from VARA object

    Posted Jun 29, 2020 05:11 PM
    Dear guys,

    I have this SQL VARA object as shown below.

    May I know if there is any way I can use a script (Which script element) from another object to retrieve the "SQL statement" query from this SQL VARA object? 

    Thank you! 




    ------------------------------
    Ken
    TX, Houston
    ------------------------------


  • 2.  RE: Retrieve SQL Statement from VARA object
    Best Answer

    Posted Jun 29, 2020 05:42 PM
    I think that data is stored in the OVD table, column OVD_SQL.  You could construct a SQLI variable that would retrieve it.

    ------------------------------
    Pete Wirfs
    SAIF Corporation
    Salem Oregon USA
    ------------------------------



  • 3.  RE: Retrieve SQL Statement from VARA object

    Posted Jun 29, 2020 08:15 PM

    It works! Thank you Pete!



    ------------------------------
    Ken
    TX, Houston
    ------------------------------