dimanche 30 novembre 2014

Tempdb tables, table in database or even cte for usp for reporting


I am about to start a project for SSRs report base on a USP. The procedure will have to use two cursors to compare orders v stock position (similar to a mrp run ): I am thinking of storing the data into a table that can be used In the ssrs report.


So the question is for a result set of no more than a few hundred lines what sort of table should I use. One in the production dB. A temp table in tempdb or can you use cte ?


The table will be dropped each run of the USP/ report


What comments are there


Thanks





Aucun commentaire:

Enregistrer un commentaire