Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

SSRS inconsistent results from stored procedure

$
0
0

I have a stored procedure with startdate and enddate datetime parameters which returns 6 records when executed in SSMS like:exec sp_XXX '7/1/13', '7/31/13'.  If I paste this into the SSRS dataset as text it also renders the report with the 6 rows correctly.  When I change the dataset to stored procedure with the appropriate datetime parameters. when the report executes I get 13 rows non of which are in the correct result set.  I have displayed the parameters in the report and also returned them in the dataset and they look ok. 


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>