Sumon562 wrote:
(...) one row has to be shown on the basis of above query.
When I change the condition MT.TranStatus is null
then the one row shows.
Try to change code this way:
where (MT.TraApprvBy is null) and (TraApprvDate is null) and COALESCE(MT.TranStatus,'') <> 'Cancel'
COALESCE[
^] function replaces
NULL
with
'default'
value ;)