How to fetch Physical SQL Query from a Semantic Query in RDL file?
We have some following steps to go ahead while extracting the Semantic Query from RDL
We accomplished step 1, We were able to Extract the semantic query from RDL and store it in XML
Question 1:
For step 2, Validating against the XSD. XSD path is http://schemas.microsoft.com/sqlserver/2004/10/semanticmodeling/SemanticModeling.xsd and our XML is extracted from RDL. The Semantic Model XSD mentioned above has some import namespace to DataSourceView.XSD. Can anyone suggest how and where can I get DataSourceView.XSD?
Question 2:
For Parse and Transform the Semantic Query, do we need to create an XML parser in C# or does any API which can perform this.
We can't Run the RDL file against Reporting model, because our requirement is to get the Physical SQL not the Dataset.
I haven't found a way to extract the SQL or convert the semantic query to SQL directly from an RDL file that contains a report model reference.
However, the SQL is available in the Report Server log file after the report is generated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With