I have a query that extracts performance measurements of a number of APIs and those I want to save over time to different files in one folder. Say every hour one run and one output file.
The Invantive scripting statement
local export results as "${exportfilename}" format xml
Can do this when you have exportfilename
correctly set up.
With Oracle SQL*Plus you can memorize the outcome of a query in a variable with the column ... new_value
syntax.
How can I set exportfile
using the outcome of an Invantive SQL query?
Solution was to use the
${outcome:row,column}
syntax as in:The
${outcome:...,...}
syntax puts the string representation of the respective row number (0..max) and column number (0..max) as a value into the indicated variable name.