SSRS Query Data Retrival Time

  • 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 0

    Error 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-GB

    Why 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 0 posts

You must be logged in to reply to this topic. Login to reply