質問

I got some crystal reports, these are developed by someone but now I am migrating to SSRS. So when i go to 'show SQL query' from crystal reports it is showing some query but i can't understand properly where these columns coming from. Is there anyway to know exact SQL query so that i can use it in sql server to generate data sets for SSRS.

thanks

役に立ちましたか?

解決

You can run Sql Profiler against your database server to see the exact Sql that Crystal Reports is running to generate the report.

Sql Profiler is a tool that comes with Sql Server (under Performance Tools in your Sql Server programs) that shows every Sql statement hitting the database. Run a trace on your Sql Server through Sql Profiler then run your report and Sql Profiler will show you the exact Sql statements that your Crystal report is running against the database.

他のヒント

One option would be split the query manully and see the select and where clause using or if you have access to database run the query over the database to check what all columns it is returning

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top