Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

if ds returns no rows, how to test and give out a "no"

$
0
0

Hi all, 

i have t-sql-queries for ms dyn. crm which return no resultsets.

if so, i want to write in report f.e. "No"

i tested many things like "isnothing", "coutrows", etc but i alway get no result.

i think to make it directly in the query, with if exists ... and in the else part i make a 

select "no" as result

.. then in report i look if i have a result / row col "result" with "no" ...

but that will not work.

i hope i explained that correct and someone can help me.

THX, Greets Pit



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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