Hi,
I'm not sure about directing the output to a result set, however you you specify the output file location and name using SET EXPLAIN FILE TO, eg:
Code:
SET EXPLAIN FILE TO '/tmp/expl/sqexpl.out'
But you will obviously need to have write permissions into the target directory or the file will not be written and an error will be returned
