|
sunitabeck
Flowing Fount of Yak Knowledge
5152 Posts |
Posted - 09/24/2012 : 07:01:38
|
Assuming it is an SSRS report, if you have access to the RDL file, you can open it in a plain text or XML editor and look for the Query section in the XML. The node name would be CommandText.
There may be more than one query and more than one command text.
If it is a Crystal Report, something similar should be possible - but I am not familiar with Crystal, so I am only guessing.
Another way would be to run the profiler on the database server, run the report and examine the queries that are coming into the server. |
 |
|