in reply to Re^3: Parsing Oracle PIVOT XML data
in thread Parsing Oracle PIVOT XML data

Thanks. That will work as a workaround and possibly a final solution. One issue I would have is that the account used to create reports can't create tables. I can get round it but it lacks some of the flexibility with lots of reports running at same time.

It's just interesting as to what is getting returned parsed by DBI or DBD::Oracle from the original. I can't use the SQL SELECT to create a table so it's not returning a "simple" value.

Replies are listed 'Best First'.
Re^5: Parsing Oracle PIVOT XML data
by Corion (Patriarch) on Jan 19, 2016 at 11:37 UTC

    I would assume that creating temporary tables is possible even if the user lacks the permissions to create (permanent) tables:


    As to the larger issue, I think it's mainly an issue of the DBD to return the structured data from the XML query, and maybe supporting that isn't that easy without the driver becoming "locked" to a specific version of Oracle.