SQL 2005 Reporting Services if check for null

前端 未结 5 442
Happy的楠姐
Happy的楠姐 2021-01-19 00:41

In SSRS 2005 I have a table with a dataset linked to it. I want to check if the value of a field is null and if it is not null then format the data to make sure it has one d

5条回答
  •  甜味超标
    2021-01-19 01:42

    When I had this problem I used a switch statement, it evaluates the conditions in the order that it is written, and seems to me to get around both side of the iif statement being evaluated at the same time.

    Ian

提交回复
热议问题