Best place to format date expressions. SSRS side or SQL Server side? -


i working on ssrs dashboard report , report has graph displays comparison of values current , previous year. query have on sql side returns weekstartdate , weekenddate columns in result set. displaying data on report, need have formatted date.

i have 2 options here:

  1. to format date in required format in derived column (derives weekstartdate , weekenddate columns) on sql side , use column directly on ssrs.

  2. not having derived column on sql side, writing ssrs expression format dates on ssrs side.

i know 1 more preferable, effective performance standpoints.

other information: if may have consider other factors, there 3 other data sets used same report dashboard report, , there various other expressions conversions , conversions performed on ssrs side well. also, result sets huge.

looking forward thoughts , suggestions. cheers.

formatting should always part of front end, not backend (or worse: database!).

in report, chose 1 of predefined date formats (not hardcoded format) make sure users different locale settings can see data in preferred format.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -