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

SSRS Query Data Retrival Time

$
0
0
For a SSRS 2008 report I have noticied a couple of strange perormance issues.1) When capturing a profile of the SQL used in the report the parameters passed are in yyyy-mm-dd format , which when the sql is copied and paste in to SSMS the error below is displayed but the query works in SSRS (on Report server and Visual Studio)Msg 8114, Level 16, State 1, Line 0Error converting data type varchar to datetime.2) When in SSMS the dates are changes to dd/mm/yyyy format the query runs in 10% of the time. I have changed the RS execution log table and the TimeDataRetrieval is virtually all of the time.Both the SSRS and SSMS are logged as the same user and the SSRS report has the language set to en-GBWhy does the SQL work in SSRS but not SSMS? Also why changing the the date values in SSMS it runs significantly quicker than the time to retrieve the data in SSRS?

Viewing all articles
Browse latest Browse all 2791

Trending Articles