简体   繁体   中英

SSRS Complex Query Report

I am developing a report in SSRS. My report has around 50 row headers. Data for each row header is the reult of a complex query to the database. 2 row header may/may not have data that relates to another row header.

In this case what would be the best way to create the report? -- Do we create a procedure that gets all data to a temporary table and then generate the report using this temp table? -- Do we create multiple datasets for this report.

Please advice on what would be the best way to proceed.

I read somewhere about using Link wherein data is retrieved from the post gre database (project uses postGreSql db) to the local sql server that SSRS provides. Report then retrieves data from the local sql server to generate the report. Thoughts?

You are best using a stored procedure as the source. It is easy to optimize the stored procedure so as to get the best performance so the report runs fast.

Assembling all your data so that you can use a single dataset to represent it would be the way to go.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM