Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

sp approach for SSRS with Extra Select, does it make any sense?

$
0
0
Hi,I'm working on new site now and we have a req that all sp for our SSRS reports utilized that approach, the very last SELECT comes from predefined #SSRSTable, so local sp are very bigin terms of number of lines, rationale behind this is that SSRS will be able to update columns/fields if any change happened in dataset (?).I know that it's not true but probably there are some other reasons I'm not aware of ? Not counting that local dbd paid by line? :-) I always try to make my sp compact and optimized in terms of everything.Thansk for your feedback.MmarioThis is our typical structure of sp:[code="sql"]Create sp..Create Table #SSSRTable ( -- ???? c1 ... c2... c3)INSERT #SSSRTable --- ??? SELECT C1,c2,c3 FROM source s -- all main logic is here JOIN 1.. JOIN 2.. Join 3.SELECT C1, C2, C3 --- ???FROM #SSSRTable END[/code]

Viewing all articles
Browse latest Browse all 2791

Trending Articles