Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Formatted SQL

$
0
0

So I found dataproviders/x/queryplan to get a WebI document's SQL.  But the SQL is all on one line.  If my report's SQL is:

 

select     blah,     foo,     bar
from     table

then the /queryplan result will look like:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><queryplan editable="true" custom="false">    <statement index="1">select blah, foo, bar from table</statement></queryplan>

How do I get the query's SQL in its original form?


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>